Advanced Settings Panel
[pierogi] / protocols / panasonicoldprotocol.h
1 #ifndef PANASONICOLDPROTOCOL_H
2 #define PANASONICOLDPROTOCOL_H
3
4 #include "spaceprotocol.h"
5
6 class PIRRX51Hardware;
7
8 //
9 // This is apparently a very old Panasonic protocol, but still in use by a
10 // few manufacturers.
11 //
12
13 class PanasonicOldProtocol: public SpaceProtocol
14 {
15 public:
16   PanasonicOldProtocol(
17     QObject *guiObject,
18     unsigned int index);
19
20 public slots:
21   void startSendingCommand(
22     unsigned int threadableID,
23     PIRKeyName command);
24
25 private:
26   int generateStandardCommand(
27     const PIRKeyBits &bits,
28     PIRRX51Hardware &device);
29 };
30
31 #endif // PANASONICOLDPROTOCOL_H