Files
lcdproc/server/driver.h
T

63 lines
1.2 KiB
C
Raw Normal View History

2001-12-30 00:15:25 +00:00
/*
* driver.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) 2001, Joris Robijn
*
*/
#ifndef DRIVER_H
#define DRIVER_H
#include "drivers/lcd.h"
2002-05-26 19:21:23 +00:00
#ifndef bool
# define bool short
# define true 1
# define false 0
#endif
2001-12-30 00:15:25 +00:00
Driver *
driver_load( char * name, char * filename, char * args );
int
driver_unload( Driver * driver );
int
driver_bind_module( Driver * driver );
int
driver_unbind_module( Driver * driver );
bool
driver_does_output( Driver * driver );
bool
driver_does_input( Driver * driver );
bool
driver_support_multiple( Driver * driver );
bool
driver_stay_in_foreground( Driver * driver );
/* Alternative functions for all extended functions */
void driver_alt_vbar( Driver * drv, int x, int y, int len, int promille, int pattern );
void driver_alt_hbar( Driver * drv, int x, int y, int len, int promille, int pattern );
void driver_alt_num( Driver * drv, int x, int num );
void driver_alt_heartbeat( Driver * drv, int state );
void driver_alt_icon( Driver * drv, int x, int y, int icon );
void driver_alt_cursor( Driver * drv, int x, int y, int state );
2001-12-30 00:15:25 +00:00
#endif