#include <list>
class QThread;
+class QObject;
class PIRKeysetWidgetItem;
class PIRProtocol;
const char *getKeysetName() const;
- void moveProtocolToThread(
+ virtual void populateProtocol(
+ QObject *guiObject) = 0;
+
+ void moveToThread(
QThread *thread);
void populateDeviceTypes(
unsigned int commandData);
*/
+ void addKaseikyoKey(
+ const char *name,
+ PIRKeyName key,
+ unsigned int addressData,
+ unsigned int commandData);
+
+ void addDishKey(
+ const char *name,
+ PIRKeyName key,
+ unsigned int firstCommand,
+ unsigned int secondCommand);
+
void setPreData(
unsigned long data,
unsigned int bits);
unsigned long data,
unsigned int bits);
+ void setKeysetName(
+ const char *name);
+
KeyCollection keys;
DeviceCollection controlledDevices;
PIRProtocol *threadableProtocol;
-
- void setKeysetName(
- const char *name);
+ unsigned int index;
private:
const char *keysetName;
PIRMakeName make;
PIRDeviceTypeCollection deviceTypes;
-
- unsigned int id;
};