Files
lcdproc/server/main.h
T
ddouthitt 39b84431a0 Added a heartbeat function to the driver code. Both the
MatrixOrbital driver and the curses driver now have their own
heartbeat functions.
2001-10-04 21:05:15 +00:00

37 lines
693 B
C

#ifndef MAIN_H
#define MAIN_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "render.h"
/*
contains a few things that other parts of the program might want
to know about...
*/
extern char *version;
extern char *protocol_version;
extern char *build_date;
void exit_program (int val);
// 1/8th second is a single time unit...
#define TIME_UNIT 125000
// But I plan to double the framerate soon, or make it variable...
//#define TIME_UNIT (125000/2)
typedef struct screen_size {
char *size;
int wid, hgt;
} screen_size;
#define DEFAULT_SCREEN_PRIORITY 128
#define DEFAULT_SCREEN_DURATION 32
#define DEFAULT_HEARTBEAT HEARTBEAT_ON
#define DEFAULT_ADDR "127.0.0.1"
#endif