// This may look like C code, but it is really -*- C++ -*-

// **********************************************************
// File rvwprot.h
// ----------------------------------------------------------
// Created: J. Faschingbauer
// **********************************************************
#ifndef have_rvwprot_h
#define have_rvwprot_h


// ports where Hyper-G Viewer Daemons listen

const int hg2dvd_port    = 4104 ;                   // Hyper-G 2D Viewer Daemon
const int hg3dvd_port    = 4105 ;                   // Hyper-G 3D Viewer Daemon
const int hgtextvd_port  = 4106 ;                   // Hyper-G Text Viewer Daemon
const int hgimagevd_port = 4107 ;                   // Hyper-G Image Viewer Daemon



class ToRViewerProtocol {
public:
   enum {
      READY,
      LOAD,
      BROWSE,
      TERMINATE,
      NFCNS
   } ;
} ;



class FromRViewerProtocol {
public:
   enum {
      READY,
      FOLLOWLINK,
      ERROR,
      TERMINATED,
      NFCNS
   } ;
} ;




#endif
