A couple of UI additions
[pierogi] / protocols / protonprotocol.h
1 #ifndef PROTONPROTOCOL_H
2 #define PROTONPROTOCOL_H
3
4 #include "spaceprotocol.h"
5
6 class PIRRX51Hardware;
7
8 //
9 // The Proton protocol looks a bit like a stripped-down NEC protocol.
10 //
11
12 class ProtonProtocol: public SpaceProtocol
13 {
14 public:
15   ProtonProtocol(
16     QObject *guiObject,
17     unsigned int index);
18
19 public slots:
20   void startSendingCommand(
21     unsigned int threadableID,
22     PIRKeyName command);
23
24 private:
25   int generateStandardCommand(
26     const PIRKeyBits &bits,
27     PIRRX51Hardware &device);
28 };
29
30 #endif // PROTONPROTOCOL_H