author | wimpie <wimpie> | 2005-01-04 01:29:55 (UTC) |
---|---|---|
committer | wimpie <wimpie> | 2005-01-04 01:29:55 (UTC) |
commit | 5199338e990284244b8fe540d3fb4a36b24bae82 (patch) (side-by-side diff) | |
tree | bbd17e6ab0998379a1a032851d27d78bd5db201f /libopie2/opiecore/device/odevice.cpp | |
parent | 1708efc66ceab63d93960a523e247bcbfafe6e7f (diff) | |
download | opie-5199338e990284244b8fe540d3fb4a36b24bae82.zip opie-5199338e990284244b8fe540d3fb4a36b24bae82.tar.gz opie-5199338e990284244b8fe540d3fb4a36b24bae82.tar.bz2 |
added odevice_genuine for pure INTEL based CPU
-> needed for system dependend applications. being LIKE
-> an IPAQ is not enough
Diffstat (limited to 'libopie2/opiecore/device/odevice.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libopie2/opiecore/device/odevice.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libopie2/opiecore/device/odevice.cpp b/libopie2/opiecore/device/odevice.cpp index 39b37cd..a824392 100644 --- a/libopie2/opiecore/device/odevice.cpp +++ b/libopie2/opiecore/device/odevice.cpp @@ -34,6 +34,7 @@ #include "odevice_simpad.h" #include "odevice_yopy.h" #include "odevice_zaurus.h" +#include "odevice_genuineintel.h" /* QT */ #include <qapplication.h> @@ -143,6 +144,13 @@ ODevice *ODevice::inst() else if ( line.contains( "Tradesquare.NL", false ) ) dev = new Internal::Beagle(); else qWarning( "ODevice() - unknown hardware - using default." ); break; + } else if ( line.startsWith( "vendor_id" ) ) { + qDebug( "ODevice() - found '%s'", (const char*) line ); + cpu_info = line; + if( line.contains( "genuineintel", false ) ) { + dev = new Internal::GenuineIntel(); + break; + } } } } |