/************************************************************************/
/* Copyright 1992 - 1997 MBARI						*/
/************************************************************************/
/* $Header: peerview.h,v 2.2 96/05/15 11:14:49 bobh Exp $		*/
/* Summary  : Include File for DM Peer Viewer				*/
/* Filename : peerview.h						*/
/* Author   : Bob Herlien (rah)						*/
/* $Revision: 2.2 $							*/
/* Created  : 05/27/97 from rov.h					*/
/************************************************************************/
/* Modification History:						*/
/* $Log:	peerview.h,v $
   27may97, rah, created from rov.h
*/
/************************************************************************/

#ifndef INCpeerviewh
#define INpeerviewh	1

typedef unsigned long	TimeOut;	/* Time in milliseconds		*/
typedef void	(*FuncPtr)();		/* Function pointer		*/

#ifndef STATUS
typedef int	STATUS;			/* VxWorks STATUS type		*/
#endif

#define NULLF	((FuncPtr)0)		/* NULL Function pointer	*/
#define NULLW	((Widget)0)		/* NULL Widget			*/
#define NULLWP	((Widget *)0)		/* NULL Widget ptr		*/

typedef struct				/*************************************/
{					/* Struct to hold App-wide resources**/
    char	*datamgr;		/* File name of Data Manager executabl*/
    TimeOut	dm_update;		/* Update rate for peer list	     */
    Pixel	connect_fg;		/* Fg color for DM connect list bad  */
    Pixel	connect_bg;		/* Bg color for DM connect list bad  */
} AppData, *AppDataPtr;			/*************************************/

typedef struct				/********************************/
{					/* Struct for XtTimerCallback	*/
    TimeOut	*timeout;		/* Timeout interval to update scr*/
    XtIntervalId tmoutId;		/* Timout ID from XtAppAddTimeout*/
} TimeoutStruct;			/*********************************/

#endif /* INCpeerviewh */
