MythTV  master
AppleRemoteListener.h
Go to the documentation of this file.
1 #ifndef APPLEREMOTELISTENER
2 #define APPLEREMOTELISTENER
3 
4 #include "AppleRemote.h"
5 
7 {
8 public:
9  explicit AppleRemoteListener(QObject* mainWindow_)
10  : mainWindow(mainWindow_) {}
11 
12  // virtual
13  void appleRemoteButton(AppleRemote::Event button, bool pressedDown);
14 
15 private:
16  QObject *mainWindow;
17 };
18 
19 #endif // APPLEREMOTELISTENER
void appleRemoteButton(AppleRemote::Event button, bool pressedDown)
AppleRemoteListener(QObject *mainWindow_)