Change back to real tabbed window, updates keysets
[pierogi] / protocols / panasonicoldprotocol.h
diff --git a/protocols/panasonicoldprotocol.h b/protocols/panasonicoldprotocol.h
new file mode 100644 (file)
index 0000000..bd48713
--- /dev/null
@@ -0,0 +1,31 @@
+#ifndef PANASONICOLDPROTOCOL_H
+#define PANASONICOLDPROTOCOL_H
+
+#include "spaceprotocol.h"
+
+class PIRRX51Hardware;
+
+//
+// This is apparently a very old Panasonic protocol, but still in use by a
+// few manufacturers.
+//
+
+class PanasonicOldProtocol: public SpaceProtocol
+{
+public:
+  PanasonicOldProtocol(
+    QObject *guiObject,
+    unsigned int index);
+
+public slots:
+  void startSendingCommand(
+    unsigned int threadableID,
+    PIRKeyName command);
+
+private:
+  int generateStandardCommand(
+    const PIRKeyBits &bits,
+    PIRRX51Hardware &device);
+};
+
+#endif // PANASONICOLDPROTOCOL_H