author | sandman <sandman> | 2002-06-18 12:44:05 (UTC) |
---|---|---|
committer | sandman <sandman> | 2002-06-18 12:44:05 (UTC) |
commit | e21322ab34a8df36344eece685e604abe4f83fc6 (patch) (unidiff) | |
tree | 199bf3f1b70b7d364d5ad836e01789ab6ce87d70 /libopie/ohwinfo.h | |
parent | 714133d7f0e2a0dafe55b280f93915765fc67fe3 (diff) | |
download | opie-e21322ab34a8df36344eece685e604abe4f83fc6.zip opie-e21322ab34a8df36344eece685e604abe4f83fc6.tar.gz opie-e21322ab34a8df36344eece685e604abe4f83fc6.tar.bz2 |
Reimplemented OHwInfo as ODevice with enhanced capabilities
ODevice should replace custom-*.h in the future (iPAQ is finished)
-rw-r--r-- | libopie/ohwinfo.h | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/libopie/ohwinfo.h b/libopie/ohwinfo.h deleted file mode 100644 index e2106f3..0000000 --- a/libopie/ohwinfo.h +++ b/dev/null | |||
@@ -1,48 +0,0 @@ | |||
1 | #ifndef _LIBOPIE_OHWINFO_H_ | ||
2 | #define _LIBOPIE_OHWINFO_H_ | ||
3 | |||
4 | #include <qstring.h> | ||
5 | |||
6 | enum OHwModel { | ||
7 | OMODEL_Unknown, | ||
8 | |||
9 | OMODEL_iPAQ_H31xx, | ||
10 | OMODEL_iPAQ_H36xx, | ||
11 | OMODEL_iPAQ_H37xx, | ||
12 | OMODEL_iPAQ_H38xx, | ||
13 | |||
14 | OMODEL_Zaurus_SL5000 | ||
15 | }; | ||
16 | |||
17 | enum OHwVendor { | ||
18 | OVENDOR_Unknown, | ||
19 | |||
20 | OVENDOR_HP, | ||
21 | OVENDOR_Sharp, | ||
22 | }; | ||
23 | |||
24 | class OHwInfoData; | ||
25 | |||
26 | |||
27 | class OHwInfo | ||
28 | { | ||
29 | public: | ||
30 | static OHwInfo *inst ( ); | ||
31 | |||
32 | QString modelString ( ); | ||
33 | OHwModel model ( ); | ||
34 | |||
35 | QString vendorString ( ); | ||
36 | OHwVendor vendor ( ); | ||
37 | |||
38 | virtual ~OHwInfo ( ); | ||
39 | |||
40 | private: | ||
41 | OHwInfo ( ); | ||
42 | OHwInfo ( const OHwInfo & ); | ||
43 | |||
44 | OHwInfoData *m_data; | ||
45 | }; | ||
46 | |||
47 | #endif | ||
48 | |||