Diffstat (limited to 'libopie2/opiecore/device/odevice.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libopie2/opiecore/device/odevice.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libopie2/opiecore/device/odevice.h b/libopie2/opiecore/device/odevice.h index b8478b9..05bb167 100644 --- a/libopie2/opiecore/device/odevice.h +++ b/libopie2/opiecore/device/odevice.h | |||
@@ -23,96 +23,97 @@ | |||
23 | -_. . . )=. = Library General Public License along with | 23 | -_. . . )=. = Library General Public License along with |
24 | -- :-=` this library; see the file COPYING.LIB. | 24 | -- :-=` this library; see the file COPYING.LIB. |
25 | If not, write to the Free Software Foundation, | 25 | If not, write to the Free Software Foundation, |
26 | Inc., 59 Temple Place - Suite 330, | 26 | Inc., 59 Temple Place - Suite 330, |
27 | Boston, MA 02111-1307, USA. | 27 | Boston, MA 02111-1307, USA. |
28 | */ | 28 | */ |
29 | 29 | ||
30 | #ifndef ODEVICE_H_ | 30 | #ifndef ODEVICE_H_ |
31 | #define ODEVICE_H_ | 31 | #define ODEVICE_H_ |
32 | 32 | ||
33 | /* OPIE */ | 33 | /* OPIE */ |
34 | #include <opie2/odevicebutton.h> | 34 | #include <opie2/odevicebutton.h> |
35 | #include <qpe/qpeapplication.h> /* for Transformation enum.. */ | 35 | #include <qpe/qpeapplication.h> /* for Transformation enum.. */ |
36 | 36 | ||
37 | /* QT */ | 37 | /* QT */ |
38 | #include <qnamespace.h> | 38 | #include <qnamespace.h> |
39 | #include <qobject.h> | 39 | #include <qobject.h> |
40 | #include <qstring.h> | 40 | #include <qstring.h> |
41 | 41 | ||
42 | 42 | ||
43 | #include <qstrlist.h> | 43 | #include <qstrlist.h> |
44 | #include <qwindowsystem_qws.h> | 44 | #include <qwindowsystem_qws.h> |
45 | 45 | ||
46 | 46 | ||
47 | class Sound; | 47 | class Sound; |
48 | 48 | ||
49 | namespace Opie{ | 49 | namespace Opie{ |
50 | namespace Core{ | 50 | namespace Core{ |
51 | 51 | ||
52 | class ODeviceData; | 52 | class ODeviceData; |
53 | /** | 53 | /** |
54 | * The available devices | 54 | * The available devices |
55 | */ | 55 | */ |
56 | enum OModel { | 56 | enum OModel { |
57 | Model_Unknown, // = 0 | 57 | Model_Unknown, // = 0 |
58 | 58 | ||
59 | Model_Series_Mask = 0xff000000, | 59 | Model_Series_Mask = 0xff000000, |
60 | 60 | ||
61 | Model_iPAQ = ( 1 << 24 ), | 61 | Model_iPAQ = ( 1 << 24 ), |
62 | 62 | ||
63 | Model_iPAQ_All = ( Model_iPAQ | 0xffffff ), | 63 | Model_iPAQ_All = ( Model_iPAQ | 0xffffff ), |
64 | Model_iPAQ_H31xx = ( Model_iPAQ | 0x000001 ), | 64 | Model_iPAQ_H31xx = ( Model_iPAQ | 0x000001 ), |
65 | Model_iPAQ_H36xx = ( Model_iPAQ | 0x000002 ), | 65 | Model_iPAQ_H36xx = ( Model_iPAQ | 0x000002 ), |
66 | Model_iPAQ_H37xx = ( Model_iPAQ | 0x000004 ), | 66 | Model_iPAQ_H37xx = ( Model_iPAQ | 0x000004 ), |
67 | Model_iPAQ_H38xx = ( Model_iPAQ | 0x000008 ), | 67 | Model_iPAQ_H38xx = ( Model_iPAQ | 0x000008 ), |
68 | Model_iPAQ_H39xx = ( Model_iPAQ | 0x000010 ), | 68 | Model_iPAQ_H39xx = ( Model_iPAQ | 0x000010 ), |
69 | Model_iPAQ_H5xxx = ( Model_iPAQ | 0x000020 ), | 69 | Model_iPAQ_H5xxx = ( Model_iPAQ | 0x000020 ), |
70 | Model_iPAQ_H22xx = ( Model_iPAQ | 0x000040 ), | 70 | Model_iPAQ_H22xx = ( Model_iPAQ | 0x000040 ), |
71 | Model_iPAQ_H191x = ( Model_iPAQ | 0x000080 ), | ||
71 | 72 | ||
72 | Model_Jornada = ( 6 << 24 ), | 73 | Model_Jornada = ( 6 << 24 ), |
73 | Model_Jornada_56x = ( Model_Jornada | 0x000001 ), | 74 | Model_Jornada_56x = ( Model_Jornada | 0x000001 ), |
74 | Model_Jornada_720 = ( Model_Jornada | 0x000002 ), | 75 | Model_Jornada_720 = ( Model_Jornada | 0x000002 ), |
75 | 76 | ||
76 | Model_Zaurus = ( 2 << 24 ), | 77 | Model_Zaurus = ( 2 << 24 ), |
77 | 78 | ||
78 | Model_Zaurus_SL5000 = ( Model_Zaurus | 0x000001 ), | 79 | Model_Zaurus_SL5000 = ( Model_Zaurus | 0x000001 ), |
79 | Model_Zaurus_SL5500 = ( Model_Zaurus | 0x000002 ), | 80 | Model_Zaurus_SL5500 = ( Model_Zaurus | 0x000002 ), |
80 | Model_Zaurus_SLA300 = ( Model_Zaurus | 0x000003 ), | 81 | Model_Zaurus_SLA300 = ( Model_Zaurus | 0x000003 ), |
81 | Model_Zaurus_SLB600 = ( Model_Zaurus | 0x000004 ), | 82 | Model_Zaurus_SLB600 = ( Model_Zaurus | 0x000004 ), |
82 | Model_Zaurus_SLC7x0 = ( Model_Zaurus | 0x000005 ), | 83 | Model_Zaurus_SLC7x0 = ( Model_Zaurus | 0x000005 ), |
83 | Model_Zaurus_SL6000 = ( Model_Zaurus | 0x000006 ), | 84 | Model_Zaurus_SL6000 = ( Model_Zaurus | 0x000006 ), |
84 | Model_Zaurus_SLC3000 = ( Model_Zaurus | 0x000007 ), | 85 | Model_Zaurus_SLC3000 = ( Model_Zaurus | 0x000007 ), |
85 | Model_Zaurus_SLC1000 = ( Model_Zaurus | 0x000008 ), | 86 | Model_Zaurus_SLC1000 = ( Model_Zaurus | 0x000008 ), |
86 | 87 | ||
87 | Model_SIMpad = ( 3 << 24 ), | 88 | Model_SIMpad = ( 3 << 24 ), |
88 | 89 | ||
89 | Model_SIMpad_All = ( Model_SIMpad | 0xffffff ), | 90 | Model_SIMpad_All = ( Model_SIMpad | 0xffffff ), |
90 | Model_SIMpad_CL4 = ( Model_SIMpad | 0x000001 ), | 91 | Model_SIMpad_CL4 = ( Model_SIMpad | 0x000001 ), |
91 | Model_SIMpad_SL4 = ( Model_SIMpad | 0x000002 ), | 92 | Model_SIMpad_SL4 = ( Model_SIMpad | 0x000002 ), |
92 | Model_SIMpad_SLC = ( Model_SIMpad | 0x000004 ), | 93 | Model_SIMpad_SLC = ( Model_SIMpad | 0x000004 ), |
93 | Model_SIMpad_TSinus = ( Model_SIMpad | 0x000008 ), | 94 | Model_SIMpad_TSinus = ( Model_SIMpad | 0x000008 ), |
94 | 95 | ||
95 | Model_Ramses = ( 4 << 24 ), | 96 | Model_Ramses = ( 4 << 24 ), |
96 | 97 | ||
97 | Model_Ramses_All = ( Model_Ramses | 0xffffff ), | 98 | Model_Ramses_All = ( Model_Ramses | 0xffffff ), |
98 | Model_Ramses_MNCI = ( Model_Ramses | 0x000001 ), | 99 | Model_Ramses_MNCI = ( Model_Ramses | 0x000001 ), |
99 | Model_Ramses_MNCIRX = ( Model_Ramses | 0x000002 ), | 100 | Model_Ramses_MNCIRX = ( Model_Ramses | 0x000002 ), |
100 | 101 | ||
101 | Model_Yopy = ( 5 << 24 ), | 102 | Model_Yopy = ( 5 << 24 ), |
102 | 103 | ||
103 | Model_Yopy_All = ( Model_Yopy | 0xffffff ), | 104 | Model_Yopy_All = ( Model_Yopy | 0xffffff ), |
104 | Model_Yopy_3000 = ( Model_Yopy | 0x000001 ), | 105 | Model_Yopy_3000 = ( Model_Yopy | 0x000001 ), |
105 | Model_Yopy_3500 = ( Model_Yopy | 0x000002 ), | 106 | Model_Yopy_3500 = ( Model_Yopy | 0x000002 ), |
106 | Model_Yopy_3700 = ( Model_Yopy | 0x000003 ), | 107 | Model_Yopy_3700 = ( Model_Yopy | 0x000003 ), |
107 | 108 | ||
108 | Model_Beagle = ( 6 << 24 ), | 109 | Model_Beagle = ( 6 << 24 ), |
109 | 110 | ||
110 | Model_Beagle_All = ( Model_Beagle | 0xffffff ), | 111 | Model_Beagle_All = ( Model_Beagle | 0xffffff ), |
111 | Model_Beagle_PA100 = ( Model_Beagle | 0x000001 ), | 112 | Model_Beagle_PA100 = ( Model_Beagle | 0x000001 ), |
112 | 113 | ||
113 | Model_GenuineIntel = ( 7 << 24 ) | 114 | Model_GenuineIntel = ( 7 << 24 ) |
114 | 115 | ||
115 | }; | 116 | }; |
116 | 117 | ||
117 | /** | 118 | /** |
118 | * The vendor of the device | 119 | * The vendor of the device |