1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
/*
* GraphLCD driver library
*
* drivers.h - global driver constants and functions
*
* This file is released under the GNU General Public License. Refer
* to the COPYING file distributed with this package.
*
* (c) 2004 Andreas Regel <andreas.regel AT powarman.de>
*/
#ifndef _GLCDDRIVERS_DRIVERS_H_
#define _GLCDDRIVERS_DRIVERS_H_
#include <string>
namespace GLCD
{
class cDriverConfig;
class cDriver;
enum eDriver
{
kDriverUnknown = 0,
kDriverSimLCD = 1,
kDriverGU140X32F = 2,
kDriverGU256X64_372 = 3,
kDriverGU256X64_3900 = 4,
kDriverHD61830 = 5,
kDriverKS0108 = 6,
kDriverSED1330 = 7,
kDriverSED1520 = 8,
kDriverT6963C = 9,
kDriverFramebuffer = 10,
kDriverImage = 11,
kDriverNoritake800 = 12,
kDriverAvrCtl = 13,
kDriverNetwork = 14,
kDriverGU126X64D_K610A4 = 15,
kDriverDM140GINK = 16,
#ifdef HAVE_AX206DPF_EXPERIMENTAL
kDriverAX206DPF = 17,
#endif
kDriverSerDisp = 100,
kDriverG15daemon = 200
};
struct tDriver
{
std::string name;
eDriver id;
};
tDriver * GetAvailableDrivers(int & count);
int GetDriverID(const std::string & driver);
cDriver * CreateDriver(int driverID, cDriverConfig * config);
} // end of namespace
#endif
|