Diffstat (limited to 'libopie2/opiecore/device/odevice.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | libopie2/opiecore/device/odevice.cpp | 2 |
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 @@ | |||
27 | 27 | ||
28 | */ | 28 | */ |
29 | 29 | ||
30 | 30 | ||
31 | #include "odevice_beagle.h" | 31 | #include "odevice_beagle.h" |
32 | #include "odevice_ipaq.h" | 32 | #include "odevice_ipaq.h" |
33 | #include "odevice_mypal.h" | ||
33 | #include "odevice_jornada.h" | 34 | #include "odevice_jornada.h" |
34 | #include "odevice_ramses.h" | 35 | #include "odevice_ramses.h" |
35 | #include "odevice_simpad.h" | 36 | #include "odevice_simpad.h" |
36 | #include "odevice_yopy.h" | 37 | #include "odevice_yopy.h" |
37 | #include "odevice_zaurus.h" | 38 | #include "odevice_zaurus.h" |
38 | #include "odevice_genuineintel.h" | 39 | #include "odevice_genuineintel.h" |
@@ -135,12 +136,13 @@ ODevice *ODevice::inst() | |||
135 | if ( line.startsWith( "Hardware" ) ) | 136 | if ( line.startsWith( "Hardware" ) ) |
136 | { | 137 | { |
137 | qDebug( "ODevice() - found '%s'", (const char*) line ); | 138 | qDebug( "ODevice() - found '%s'", (const char*) line ); |
138 | cpu_info = line; | 139 | cpu_info = line; |
139 | if ( line.contains( "sharp", false ) ) dev = new Internal::Zaurus(); | 140 | if ( line.contains( "sharp", false ) ) dev = new Internal::Zaurus(); |
140 | else if ( line.contains( "ipaq", false ) ) dev = new Internal::iPAQ(); | 141 | else if ( line.contains( "ipaq", false ) ) dev = new Internal::iPAQ(); |
142 | else if ( line.contains( "mypal", false ) ) dev = new Internal::MyPal(); | ||
141 | else if ( line.contains( "simpad", false ) ) dev = new Internal::SIMpad(); | 143 | else if ( line.contains( "simpad", false ) ) dev = new Internal::SIMpad(); |
142 | else if ( line.contains( "jornada", false ) ) dev = new Internal::Jornada(); | 144 | else if ( line.contains( "jornada", false ) ) dev = new Internal::Jornada(); |
143 | else if ( line.contains( "ramses", false ) ) dev = new Internal::Ramses(); | 145 | else if ( line.contains( "ramses", false ) ) dev = new Internal::Ramses(); |
144 | else if ( line.contains( "Tradesquare.NL", false ) ) dev = new Internal::Beagle(); | 146 | else if ( line.contains( "Tradesquare.NL", false ) ) dev = new Internal::Beagle(); |
145 | else qWarning( "ODevice() - unknown hardware - using default." ); | 147 | else qWarning( "ODevice() - unknown hardware - using default." ); |
146 | break; | 148 | break; |