summaryrefslogtreecommitdiff
path: root/libopie/ohwinfo.h
blob: e2106f328bb7e0060f37ada0d7e2a9860ba07bd9 (plain)
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
#ifndef _LIBOPIE_OHWINFO_H_
#define _LIBOPIE_OHWINFO_H_

#include <qstring.h>

enum OHwModel {
	OMODEL_Unknown,

	OMODEL_iPAQ_H31xx,
	OMODEL_iPAQ_H36xx,
	OMODEL_iPAQ_H37xx,
	OMODEL_iPAQ_H38xx,
	
	OMODEL_Zaurus_SL5000
};

enum OHwVendor {	
	OVENDOR_Unknown,

	OVENDOR_HP,
	OVENDOR_Sharp,
};

class OHwInfoData;


class OHwInfo
{
public:
	static OHwInfo *inst ( );
	
	QString modelString ( ); 
	OHwModel model ( );
	
	QString vendorString ( );
	OHwVendor vendor ( );

	virtual ~OHwInfo ( );

private:
	OHwInfo ( );
	OHwInfo ( const OHwInfo & );

	OHwInfoData *m_data;
};

#endif