summaryrefslogtreecommitdiff
path: root/libopie2/opiecore/device/odevice_zaurus.h
authorzecke <zecke>2005-02-17 23:52:46 (UTC)
committer zecke <zecke>2005-02-17 23:52:46 (UTC)
commit9bf35a9978c8a9e8b9c2100abf9137ffefc73e17 (patch) (side-by-side diff)
treef251c1697f2ed091d8f55eca7aa1b8f4a85c7889 /libopie2/opiecore/device/odevice_zaurus.h
parent87cbafeb59d0505b631be811bd96fb1d0b1df1f7 (diff)
downloadopie-9bf35a9978c8a9e8b9c2100abf9137ffefc73e17.zip
opie-9bf35a9978c8a9e8b9c2100abf9137ffefc73e17.tar.gz
opie-9bf35a9978c8a9e8b9c2100abf9137ffefc73e17.tar.bz2
Add OAbstractMobileDevice with implementations for suspend and setDisplayStatus
Switch our implementations over to this partial implementation of ODevice
Diffstat (limited to 'libopie2/opiecore/device/odevice_zaurus.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opiecore/device/odevice_zaurus.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/libopie2/opiecore/device/odevice_zaurus.h b/libopie2/opiecore/device/odevice_zaurus.h
index 80593ce..6e6ca46 100644
--- a/libopie2/opiecore/device/odevice_zaurus.h
+++ b/libopie2/opiecore/device/odevice_zaurus.h
@@ -30,7 +30,7 @@
#ifndef ODEVICE_ZAURUS
#define ODEVICE_ZAURUS
-#include <opie2/odevice.h>
+#include "odevice_abstractmobiledevice.h"
#ifndef ARRAY_SIZE
#define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))
@@ -91,7 +91,7 @@ namespace Opie {
namespace Core {
namespace Internal {
-class Zaurus : public ODevice
+class Zaurus : public OAbstractMobileDevice
{
protected:
virtual void init(const QString&);
@@ -114,7 +114,6 @@ class Zaurus : public ODevice
virtual bool hasHingeSensor() const;
virtual OHingeStatus readHingeSensor() const;
- virtual bool suspend();
virtual Transformation rotation() const;
virtual ODirection direction() const;