--- a/src/hbcore/utils/hbdevicemodeinfo_p.cpp Thu May 27 13:10:59 2010 +0300
+++ b/src/hbcore/utils/hbdevicemodeinfo_p.cpp Fri Jun 11 13:58:22 2010 +0300
@@ -23,23 +23,21 @@
**
****************************************************************************/
+#include "hbdevicemodeinfo_p.h"
+#include "hbwsiniparser_p.h"
#include <QMap>
#include <QFile>
#include <QDebug>
-#include "hbdevicemodeinfo_p.h"
-#include "hbwsiniparser_p.h"
-
class HbDeviceModeInfoPrivate
- {
-
+{
public:
HbDeviceModeInfoPrivate();
void init(const QString &wsIniFile);
public:
QMap<int, HbScreenMode> mModes;
- };
+};
void HbDeviceModeInfoPrivate::init(const QString &wsIniFile)
{
@@ -55,11 +53,11 @@
\brief Provides information abstracted from the platform information on all the valid device modes
All valid hardware and distinct user physical configurations should be accessed here.
-
+
*/
HbDeviceModeInfo::HbDeviceModeInfo(const QString &wsIniFile)
-: d_ptr(new HbDeviceModeInfoPrivate())
+ : d_ptr(new HbDeviceModeInfoPrivate())
{
d_ptr->init(wsIniFile);
}
@@ -81,13 +79,10 @@
HbScreenMode *HbDeviceModeInfo::mode(int key)
{
HbScreenMode *result(0);
- if (d_ptr->mModes.contains(key)){
+ if (d_ptr->mModes.contains(key)) {
HbScreenMode &resultRef = d_ptr->mModes[key];
result = &resultRef;
}
return result;
}
-
-
-