Files
lcdproc/server/screenlist.h
T
robijn dc619e596f - Moved some code from main.c to screenlist.c
- Implemented reloading by sending SIGHUP.
- Now doing 'real 8Hz' rendering and 32Hz input processing.
- Removed noscreen feature (that we rejected).
2002-08-04 20:58:51 +00:00

41 lines
805 B
C

/*
* screenlist.h
* This file is part of LCDd, the lcdproc server.
*
* This file is released under the GNU General Public License. Refer to the
* COPYING file distributed with this package.
*
* Copyright (c) 1999, William Ferrell, Scott Scriven
*
*/
#ifndef SCREENLIST_H
#define SCREENLIST_H
#include "screen.h"
#define SCR_HOLD 1
#define SCR_SKIP 2
#define SCR_BACK 3
#define RENDER_HOLD 11
#define RENDER_SKIP 12
#define RENDER_BACK 13
extern int screenlist_action;
int screenlist_init ();
int screenlist_shutdown ();
void screenlist_update ();
void screenlist_switch (Screen * s);
Screen *screenlist_current ();
int screenlist_add (Screen * s);
Screen *screenlist_next ();
Screen *screenlist_prev ();
int screenlist_remove (Screen * s);
int screenlist_remove_all (Screen * s);
#endif