Advanced Settings Panel
[pierogi] / protocols / pirprotocol.h
index 48d5664..d59952b 100644 (file)
@@ -4,7 +4,6 @@
 // The generic remote controller.
 
 #include <QObject>
-//#include <QMutex>
 #include "pirkeynames.h"
 
 #include <map>
@@ -50,6 +49,16 @@ public:
     unsigned int gSpace,
     bool iclflag);
 
+  unsigned int getCarrierFrequency() const;
+
+  void setCarrierFrequency(
+    unsigned int cf);
+
+  unsigned int getDutyCycle() const;
+
+  void setDutyCycle(
+    unsigned int dc);
+
   void addKey(
     PIRKeyName key,
     unsigned long data,
@@ -78,6 +87,11 @@ public:
     unsigned int addressData,
     unsigned int commandData);
 
+  void addPanOldKey(
+    PIRKeyName key,
+    unsigned int addressData,
+    unsigned int commandData);
+
   void addPioneerKey(
     PIRKeyName key,
     unsigned int firstAddress,
@@ -85,11 +99,27 @@ public:
     unsigned int secondAddress,
     unsigned int secondCommand);
 
-  void setCarrierFrequency(
-    unsigned int freq);
+/*
+  void addRCAKey(
+    PIRKeyName key,
+    unsigned int addressData,
+    unsigned int commandData);
+*/
 
-  void setDutyCycle(
-    unsigned int dc);
+  void addKaseikyoKey(
+    PIRKeyName key,
+    unsigned int addressData,
+    unsigned int commandData);
+
+  void addDishKey(
+    PIRKeyName key,
+    unsigned int firstCommand,
+    unsigned int secondCommand);
+
+  void addXMPKey(
+    PIRKeyName key,
+    unsigned int firstCommand,
+    unsigned int secondCommand);
 
   void setMinimumRepetitions(
     unsigned int minrep);
@@ -138,6 +168,10 @@ protected:
   // the time between the _first_ pulse of one command and the first pulse
   // of the next.
 
+  void setGapSize(
+    int gapSize,
+    bool iclFlag);
+
   bool isConstantLength;
   int gap;