author | zecke <zecke> | 2004-09-17 21:51:47 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-09-17 21:51:47 (UTC) |
commit | 5a0986abc76a695a4262b75219a29ea983cf19c8 (patch) (side-by-side diff) | |
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) (ignore 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 @@ -26,8 +26,9 @@ Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#include "odevice_beagle.h" #include "odevice_ipaq.h" #include "odevice_jornada.h" #include "odevice_ramses.h" #include "odevice_simpad.h" @@ -138,8 +139,9 @@ ODevice *ODevice::inst() else if ( line.contains( "ipaq", false ) ) dev = new Internal::iPAQ(); else if ( line.contains( "simpad", false ) ) dev = new Internal::SIMpad(); else if ( line.contains( "jornada", false ) ) dev = new Internal::Jornada(); else if ( line.contains( "ramses", false ) ) dev = new Internal::Ramses(); + else if ( line.contains( "Tradesquare.NL", false ) ) dev = new Internal::Beagle(); else qWarning( "ODevice() - unknown hardware - using default." ); break; } } @@ -265,9 +267,8 @@ bool ODevice::setSoftSuspend ( bool /*soft*/ ) * @return if the device got suspended */ bool ODevice::suspend() { - qDebug("ODevice::suspend"); if ( !isQWS( ) ) // only qwsserver is allowed to suspend return false; if ( d->m_model == Model_Unknown ) // better don't suspend in qvfb / on unkown devices |