X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=pirkeysetmanager.cpp;fp=pirkeysetmanager.cpp;h=b3ba761e85fc331c4c350195f26617d9f20fb9fc;hb=f3809ec697222bd9ad47c725bb72dd7272fd594b;hp=719cd936511ce7ee9aafa2c22521c13d73a25522;hpb=ca07675aa383be558295fc82411c677bae207257;p=pierogi diff --git a/pirkeysetmanager.cpp b/pirkeysetmanager.cpp index 719cd93..b3ba761 100644 --- a/pirkeysetmanager.cpp +++ b/pirkeysetmanager.cpp @@ -22,6 +22,7 @@ #include "keysets/bush.h" #include "keysets/cambridge.h" #include "keysets/canon.h" +#include "keysets/changhong.h" #include "keysets/cisco.h" #include "keysets/compro.h" #include "keysets/creative.h" @@ -44,6 +45,7 @@ #include "keysets/epson.h" #include "keysets/fortec.h" #include "keysets/foxtel.h" +#include "keysets/frontech.h" #include "keysets/gadmei.h" #include "keysets/genius.h" #include "keysets/goldstar.h" @@ -101,6 +103,7 @@ #include "keysets/samsung.h" #include "keysets/sanyo.h" #include "keysets/sharp.h" +#include "keysets/sinotec.h" #include "keysets/sky.h" #include "keysets/sony.h" #include "keysets/starsat.h" @@ -213,6 +216,12 @@ PIRKeysetManager::PIRKeysetManager() setupKeyset(new CanonCamcorder1(++counter)); setupKeyset(new CanonPowershot1(++counter)); + setupKeyset(new ChanghongTV1(++counter)); + setupKeyset(new ChanghongTV1a(++counter)); + setupKeyset(new ChanghongTV1b(++counter)); + setupKeyset(new ChanghongTV2(++counter)); + setupKeyset(new ChanghongTV3(++counter)); + setupKeyset(new CiscoSTB1(++counter)); setupKeyset(new CiscoSTB2(++counter)); setupKeyset(new CiscoSTB3(++counter)); @@ -323,6 +332,9 @@ PIRKeysetManager::PIRKeysetManager() setupKeyset(new FoxtelSTB1(++counter)); setupKeyset(new FoxtelSTB2(++counter)); + setupKeyset(new FrontechTV1(++counter)); + setupKeyset(new FrontechTV2(++counter)); + setupKeyset(new GadmeiTuner1(++counter)); setupKeyset(new GeniusSpeakers1(++counter)); @@ -681,6 +693,9 @@ PIRKeysetManager::PIRKeysetManager() setupKeyset(new SharpReceiver1(++counter)); setupKeyset(new SharpAC1(++counter)); + setupKeyset(new SinotecTV1(++counter)); + setupKeyset(new SinotecTV2(++counter)); + setupKeyset(new SkyReceiver1(++counter)); setupKeyset(new SkyReceiver1a(++counter)); @@ -745,6 +760,7 @@ PIRKeysetManager::PIRKeysetManager() setupKeyset(new ThomsonDVD1(++counter)); setupKeyset(new ThomsonSat1(++counter)); setupKeyset(new ThomsonAudio1(++counter)); + setupKeyset(new ThomsonAudio2(++counter)); setupKeyset(new Tivo1(++counter)); setupKeyset(new Tivo1a(++counter)); @@ -966,17 +982,17 @@ void PIRKeysetManager::populateKeyset( } -void PIRKeysetManager::clearKeyset( +bool PIRKeysetManager::clearKeyset( unsigned int keysetID) { PIRKeysetCollection::iterator i = keysetsInfo.find(keysetID); if (i == keysetsInfo.end()) { - return; // should throw error or something + return true; // best I can do here right now... } - i->second->clearProtocol(); + return i->second->clearProtocol(); }