Files
lcdproc/server/screen.h
T
ppokorny e7316389e8 Fixed compile errors on FreeBSD related to cfmakeraw and friends on the
serial port side.  Also fixed problems with ioperm on the parallel port
side.

Added --waittime option to the server to specify how long the server
should leave a screen up before changing to the next screen.
2001-07-18 22:30:12 +00:00

31 lines
501 B
C

#ifndef SCREEN_H
#define SCREEN_H
#include "shared/LL.h"
#include "clients.h"
typedef struct screen {
char *id;
char *name;
int wid, hgt;
int priority;
int duration;
int heartbeat;
char *keys;
LL *widgets;
client *parent;
} screen;
extern int default_duration ;
extern int default_priority ;
screen *screen_create ();
int screen_destroy (screen * s);
screen *screen_find (client * c, char *id);
int screen_add (client * c, char *id);
int screen_remove (client * c, char *id);
#endif