Files
lcdproc/server/main.h
T
William Ferrell 1f0e4679ab Applied Bjorn Andersson's autoconf/automake patch. LCDproc is now built
with the standard "./autogen.sh && ./configure && make && make install"
instead of just tweaking the Makefile and typing "make".
1999-12-11 19:21:29 +00:00

36 lines
601 B
C

#ifndef MAIN_H
#define MAIN_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
/*
contains a few things that other parts of the program might want
to know about...
*/
extern char *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;
typedef struct parameter
{
char * sh, * lg; // short and long versions
} parameter;
#endif