summaryrefslogtreecommitdiff
path: root/libopie2
authorzecke <zecke>2005-08-10 19:43:26 (UTC)
committer zecke <zecke>2005-08-10 19:43:26 (UTC)
commit3d5d7e3ca64f41651cb18c2e1833e2221a912d2d (patch) (side-by-side diff)
tree56bdafb2961e4da1c6cec792a84763dd0df2f176 /libopie2
parent2693819adb7472aacf78cc4202ba7ee61b280b49 (diff)
downloadopie-3d5d7e3ca64f41651cb18c2e1833e2221a912d2d.zip
opie-3d5d7e3ca64f41651cb18c2e1833e2221a912d2d.tar.gz
opie-3d5d7e3ca64f41651cb18c2e1833e2221a912d2d.tar.bz2
libopie2/opiecore/odevice.cpp:
-Patch by "Pawel Kolodziejski" <pablo@omega.xtr.net.pl> to instantiate the Asus MyPal implementation
Diffstat (limited to 'libopie2') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opiecore/device/odevice.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/libopie2/opiecore/device/odevice.cpp b/libopie2/opiecore/device/odevice.cpp
index 56f305f..62bb68a 100644
--- a/libopie2/opiecore/device/odevice.cpp
+++ b/libopie2/opiecore/device/odevice.cpp
@@ -27,12 +27,13 @@
*/
#include "odevice_beagle.h"
#include "odevice_ipaq.h"
+#include "odevice_mypal.h"
#include "odevice_jornada.h"
#include "odevice_ramses.h"
#include "odevice_simpad.h"
#include "odevice_yopy.h"
#include "odevice_zaurus.h"
#include "odevice_genuineintel.h"
@@ -135,12 +136,13 @@ ODevice *ODevice::inst()
if ( line.startsWith( "Hardware" ) )
{
qDebug( "ODevice() - found '%s'", (const char*) line );
cpu_info = line;
if ( line.contains( "sharp", false ) ) dev = new Internal::Zaurus();
else if ( line.contains( "ipaq", false ) ) dev = new Internal::iPAQ();
+ else if ( line.contains( "mypal", false ) ) dev = new Internal::MyPal();
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;