Advanced Settings Panel
[pierogi] / protocols / dishprotocol.h
1 #ifndef DISHPROTOCOL_H
2 #define DISHPROTOCOL_H
3
4 #include "spaceprotocol.h"
5
6 class PIRRX51Hardware;
7
8 //
9 // The Dish protocol is space encoded, but otherwise is unlike just about
10 // any other protocol out there.
11 //
12
13 class DishProtocol: public SpaceProtocol
14 {
15 public:
16   DishProtocol(
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 // DISHPROTOCOL_H