author | zecke <zecke> | 2004-09-17 21:51:47 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-09-17 21:51:47 (UTC) |
commit | 5a0986abc76a695a4262b75219a29ea983cf19c8 (patch) (unidiff) | |
tree | 3e5a98bce5f07fc6c7edf9dc8b26aee5ec2098cc /libopie2/opiecore/device/odevice.cpp | |
parent | a7d6af0d9a4f06dc5e27844f74212806387ce218 (diff) | |
download | opie-5a0986abc76a695a4262b75219a29ea983cf19c8.zip opie-5a0986abc76a695a4262b75219a29ea983cf19c8.tar.gz opie-5a0986abc76a695a4262b75219a29ea983cf19c8.tar.bz2 |
First untested support for the beagle from MasterIA
Diffstat (limited to 'libopie2/opiecore/device/odevice.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | libopie2/opiecore/device/odevice.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libopie2/opiecore/device/odevice.cpp b/libopie2/opiecore/device/odevice.cpp index 2355621..2b10034 100644 --- a/libopie2/opiecore/device/odevice.cpp +++ b/libopie2/opiecore/device/odevice.cpp | |||
@@ -27,6 +27,7 @@ | |||
27 | Boston, MA 02111-1307, USA. | 27 | Boston, MA 02111-1307, USA. |
28 | */ | 28 | */ |
29 | 29 | ||
30 | #include "odevice_beagle.h" | ||
30 | #include "odevice_ipaq.h" | 31 | #include "odevice_ipaq.h" |
31 | #include "odevice_jornada.h" | 32 | #include "odevice_jornada.h" |
32 | #include "odevice_ramses.h" | 33 | #include "odevice_ramses.h" |
@@ -139,6 +140,7 @@ ODevice *ODevice::inst() | |||
139 | else if ( line.contains( "simpad", false ) ) dev = new Internal::SIMpad(); | 140 | else if ( line.contains( "simpad", false ) ) dev = new Internal::SIMpad(); |
140 | else if ( line.contains( "jornada", false ) ) dev = new Internal::Jornada(); | 141 | else if ( line.contains( "jornada", false ) ) dev = new Internal::Jornada(); |
141 | else if ( line.contains( "ramses", false ) ) dev = new Internal::Ramses(); | 142 | else if ( line.contains( "ramses", false ) ) dev = new Internal::Ramses(); |
143 | else if ( line.contains( "Tradesquare.NL", false ) ) dev = new Internal::Beagle(); | ||
142 | else qWarning( "ODevice() - unknown hardware - using default." ); | 144 | else qWarning( "ODevice() - unknown hardware - using default." ); |
143 | break; | 145 | break; |
144 | } | 146 | } |
@@ -266,7 +268,6 @@ bool ODevice::setSoftSuspend ( bool /*soft*/ ) | |||
266 | */ | 268 | */ |
267 | bool ODevice::suspend() | 269 | bool ODevice::suspend() |
268 | { | 270 | { |
269 | qDebug("ODevice::suspend"); | ||
270 | if ( !isQWS( ) ) // only qwsserver is allowed to suspend | 271 | if ( !isQWS( ) ) // only qwsserver is allowed to suspend |
271 | return false; | 272 | return false; |
272 | 273 | ||