From 226ccbb7d87a54411d640432f0ac19cbd942aa01 Mon Sep 17 00:00:00 2001 From: llornkcor Date: Sun, 23 Apr 2006 20:19:27 +0000 Subject: add support for HTC Universal device --- (limited to 'libopie2/opiecore/device/odevice.cpp') diff --git a/libopie2/opiecore/device/odevice.cpp b/libopie2/opiecore/device/odevice.cpp index 7b99eb4..c6e031f 100644 --- a/libopie2/opiecore/device/odevice.cpp +++ b/libopie2/opiecore/device/odevice.cpp @@ -37,6 +37,7 @@ #include "odevice_yopy.h" #include "odevice_zaurus.h" #include "odevice_genuineintel.h" +#include "odevice_htc.h" /* QT */ #include @@ -144,6 +145,8 @@ ODevice *ODevice::inst() 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 if ( line.contains( "HTC", false ) ) dev = new Internal::HTC(); + else qWarning( "ODevice() - unknown hardware - using default." ); break; } else if ( line.startsWith( "vendor_id" ) ) { -- cgit v0.9.0.2