summaryrefslogtreecommitdiff
path: root/core/launcher/main.cpp
authorsandman <sandman>2002-06-18 12:49:05 (UTC)
committer sandman <sandman>2002-06-18 12:49:05 (UTC)
commitc739f74f910b24884279d34836c1f78a97a7e7ae (patch) (side-by-side diff)
tree432c379c30469e2be9117b4895b345e4947e688a /core/launcher/main.cpp
parent61e2f9e5eb634b17ef480d79bdbcbc3a715990cb (diff)
downloadopie-c739f74f910b24884279d34836c1f78a97a7e7ae.zip
opie-c739f74f910b24884279d34836c1f78a97a7e7ae.tar.gz
opie-c739f74f910b24884279d34836c1f78a97a7e7ae.tar.bz2
Replaced OHwInfo with ODevice and ported from custom-*.h #defines to
ODevice methods
Diffstat (limited to 'core/launcher/main.cpp') (more/less context) (show whitespace changes)
-rw-r--r--core/launcher/main.cpp11
1 files changed, 5 insertions, 6 deletions
diff --git a/core/launcher/main.cpp b/core/launcher/main.cpp
index 347eee9..b3c331b 100644
--- a/core/launcher/main.cpp
+++ b/core/launcher/main.cpp
@@ -31,2 +31,4 @@
+#include <opie/odevice.h>
+
#include <qfile.h>
@@ -36,4 +38,2 @@
-#include <opie/ohwinfo.h>
-
#include <stdlib.h>
@@ -195,3 +195,3 @@ public:
- m_model = OHwInfo::inst ( )-> model ( );
+ m_model = ODevice::inst ( )-> model ( );
m_power_timer = 0;
@@ -210,3 +210,3 @@ public:
- virtual bool filter ( int unicode, int keycode, int modifiers, bool isPress, bool autoRepeat )
+ virtual bool filter ( int /*unicode*/, int keycode, int modifiers, bool isPress, bool autoRepeat )
{
@@ -269,4 +269,3 @@ public:
private:
- OHwModel m_model;
- bool m_power_press;
+ OModel m_model;
int m_power_timer;