2008-11-30 22:31:20 +00:00
|
|
|
/** \file server/serverscreens.h
|
2007-10-04 13:51:53 +00:00
|
|
|
* Interface for the serverscreen implementation.
|
2007-05-12 18:18:34 +00:00
|
|
|
*/
|
|
|
|
|
|
2008-11-30 22:31:20 +00:00
|
|
|
/* This file is part of LCDd, the lcdproc server.
|
2001-12-27 23:30:36 +00:00
|
|
|
*
|
2008-11-30 22:31:20 +00:00
|
|
|
* This file is released under the GNU General Public License.
|
|
|
|
|
* Refer to the COPYING file distributed with this package.
|
2001-12-27 23:30:36 +00:00
|
|
|
*
|
2011-01-05 23:34:37 +00:00
|
|
|
* Copyright (c) 1999, William Ferrell, Selene Scriven
|
2001-12-27 23:30:36 +00:00
|
|
|
*/
|
|
|
|
|
|
1999-12-09 23:15:14 +00:00
|
|
|
#ifndef SRVSTATS_H
|
|
|
|
|
#define SRVSTATS_H
|
|
|
|
|
|
|
|
|
|
#include "screen.h"
|
|
|
|
|
|
2007-05-12 16:14:30 +00:00
|
|
|
/* server screen rotation states */
|
2007-10-04 13:51:53 +00:00
|
|
|
#define SERVERSCREEN_OFF 0 /**< Show server screen in rotation. */
|
|
|
|
|
#define SERVERSCREEN_ON 1 /**< Show server sreen only when there is no other screen. */
|
|
|
|
|
#define SERVERSCREEN_BLANK 2 /**< Don't rotate, and only show a blank screen. */
|
2007-05-12 16:14:30 +00:00
|
|
|
|
2007-04-02 21:29:53 +00:00
|
|
|
extern Screen *server_screen;
|
1999-12-09 23:15:14 +00:00
|
|
|
|
2003-06-01 09:51:38 +00:00
|
|
|
extern int rotate_server_screen;
|
|
|
|
|
|
2007-04-02 21:29:53 +00:00
|
|
|
int server_screen_init(void);
|
|
|
|
|
int server_screen_shutdown(void);
|
|
|
|
|
int update_server_screen(void);
|
|
|
|
|
int goodbye_screen(void);
|
1999-12-09 23:15:14 +00:00
|
|
|
|
|
|
|
|
#endif
|