equal
deleted
inserted
replaced
33 class HbDeviceModeInfoPrivate |
33 class HbDeviceModeInfoPrivate |
34 { |
34 { |
35 |
35 |
36 public: |
36 public: |
37 HbDeviceModeInfoPrivate(); |
37 HbDeviceModeInfoPrivate(); |
38 void init(); |
38 void init(const QString &wsIniFile); |
39 |
39 |
40 public: |
40 public: |
41 QMap<int, HbScreenMode> mModes; |
41 QMap<int, HbScreenMode> mModes; |
42 }; |
42 }; |
43 |
43 |
44 void HbDeviceModeInfoPrivate::init() |
44 void HbDeviceModeInfoPrivate::init(const QString &wsIniFile) |
45 { |
45 { |
46 HbWsiniParser::parseModes(mModes); |
46 HbWsiniParser::parseModes(mModes, wsIniFile); |
47 } |
47 } |
48 |
48 |
49 HbDeviceModeInfoPrivate::HbDeviceModeInfoPrivate() |
49 HbDeviceModeInfoPrivate::HbDeviceModeInfoPrivate() |
50 { |
50 { |
51 } |
51 } |
56 |
56 |
57 All valid hardware and distinct user physical configurations should be accessed here. |
57 All valid hardware and distinct user physical configurations should be accessed here. |
58 |
58 |
59 */ |
59 */ |
60 |
60 |
61 // ======== LOCAL FUNCTIONS ======== |
61 HbDeviceModeInfo::HbDeviceModeInfo(const QString &wsIniFile) |
62 |
|
63 // ======== MEMBER FUNCTIONS ======== |
|
64 |
|
65 HbDeviceModeInfo::HbDeviceModeInfo() |
|
66 : d_ptr(new HbDeviceModeInfoPrivate()) |
62 : d_ptr(new HbDeviceModeInfoPrivate()) |
67 { |
63 { |
68 d_ptr->init(); |
64 d_ptr->init(wsIniFile); |
69 } |
65 } |
70 |
66 |
71 HbDeviceModeInfo::~HbDeviceModeInfo() |
67 HbDeviceModeInfo::~HbDeviceModeInfo() |
72 { |
68 { |
73 delete d_ptr; |
69 delete d_ptr; |