summaryrefslogtreecommitdiff
path: root/libopie2/opiecore/device/odevice.cpp
authormickeyl <mickeyl>2006-05-19 12:22:12 (UTC)
committer mickeyl <mickeyl>2006-05-19 12:22:12 (UTC)
commit0a37c2f7c92ca6b0b6357271b02fb871e0afcbdc (patch) (unidiff)
treef29beee42524c33b0a6c7f2079ecb610db6366b0 /libopie2/opiecore/device/odevice.cpp
parentf2dc2fbeca42a87e1779696477b4caaf89a10614 (diff)
downloadopie-0a37c2f7c92ca6b0b6357271b02fb871e0afcbdc.zip
opie-0a37c2f7c92ca6b0b6357271b02fb871e0afcbdc.tar.gz
opie-0a37c2f7c92ca6b0b6357271b02fb871e0afcbdc.tar.bz2
add preliminary support for the Motorola EZX Linux phone platform
see http://openezx.org
Diffstat (limited to 'libopie2/opiecore/device/odevice.cpp') (more/less context) (show whitespace changes)
-rw-r--r--libopie2/opiecore/device/odevice.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/libopie2/opiecore/device/odevice.cpp b/libopie2/opiecore/device/odevice.cpp
index c6e031f..8f5be8b 100644
--- a/libopie2/opiecore/device/odevice.cpp
+++ b/libopie2/opiecore/device/odevice.cpp
@@ -1,9 +1,9 @@
1/* 1/*
2                 This file is part of the Opie Project 2                 This file is part of the Opie Project
3 =. (C) 2002-2005 The Opie Team <opie-devel@handhelds.org> 3 =. (C) 2002-2006 The Opie Team <opie-devel@handhelds.org>
4 .=l. 4 .=l.
5           .>+-= 5           .>+-=
6 _;:,     .>    :=|. This program is free software; you can 6 _;:,     .>    :=|. This program is free software; you can
7.> <`_,   >  .   <= redistribute it and/or modify it under 7.> <`_,   >  .   <= redistribute it and/or modify it under
8:`=1 )Y*s>-.--   : the terms of the GNU Library General Public 8:`=1 )Y*s>-.--   : the terms of the GNU Library General Public
9.="- .-=="i,     .._ License as published by the Free Software 9.="- .-=="i,     .._ License as published by the Free Software
@@ -35,12 +35,13 @@
35#include "odevice_ramses.h" 35#include "odevice_ramses.h"
36#include "odevice_simpad.h" 36#include "odevice_simpad.h"
37#include "odevice_yopy.h" 37#include "odevice_yopy.h"
38#include "odevice_zaurus.h" 38#include "odevice_zaurus.h"
39#include "odevice_genuineintel.h" 39#include "odevice_genuineintel.h"
40#include "odevice_htc.h" 40#include "odevice_htc.h"
41#include "odevice_motorola_ezx.h"
41 42
42/* QT */ 43/* QT */
43#include <qapplication.h> 44#include <qapplication.h>
44#include <qfile.h> 45#include <qfile.h>
45#include <qtextstream.h> 46#include <qtextstream.h>
46#include <qwindowsystem_qws.h> 47#include <qwindowsystem_qws.h>
@@ -143,12 +144,13 @@ ODevice *ODevice::inst()
143 else if ( line.contains( "mypal", false ) ) dev = new Internal::MyPal(); 144 else if ( line.contains( "mypal", false ) ) dev = new Internal::MyPal();
144 else if ( line.contains( "simpad", false ) ) dev = new Internal::SIMpad(); 145 else if ( line.contains( "simpad", false ) ) dev = new Internal::SIMpad();
145 else if ( line.contains( "jornada", false ) ) dev = new Internal::Jornada(); 146 else if ( line.contains( "jornada", false ) ) dev = new Internal::Jornada();
146 else if ( line.contains( "ramses", false ) ) dev = new Internal::Ramses(); 147 else if ( line.contains( "ramses", false ) ) dev = new Internal::Ramses();
147 else if ( line.contains( "Tradesquare.NL", false ) ) dev = new Internal::Beagle(); 148 else if ( line.contains( "Tradesquare.NL", false ) ) dev = new Internal::Beagle();
148 else if ( line.contains( "HTC", false ) ) dev = new Internal::HTC(); 149 else if ( line.contains( "HTC", false ) ) dev = new Internal::HTC();
150 else if ( line.contains( "Motorola", false ) ) dev = new Internal::Motorola_EZX();
149 151
150 else qWarning( "ODevice() - unknown hardware - using default." ); 152 else qWarning( "ODevice() - unknown hardware - using default." );
151 break; 153 break;
152 } else if ( line.startsWith( "vendor_id" ) ) { 154 } else if ( line.startsWith( "vendor_id" ) ) {
153 qDebug( "ODevice() - found '%s'", (const char*) line ); 155 qDebug( "ODevice() - found '%s'", (const char*) line );
154 cpu_info = line; 156 cpu_info = line;