MythTV  master
AppleRemoteListener.h
Go to the documentation of this file.
1 #ifndef APPLEREMOTELISTENER
2 #define APPLEREMOTELISTENER
3 
4 #include "devices/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
AppleRemoteListener
Definition: AppleRemoteListener.h:7
AppleRemote::Event
Event
Definition: AppleRemote.h:25
AppleRemoteListener::mainWindow
QObject * mainWindow
Definition: AppleRemoteListener.h:16
AppleRemoteListener::AppleRemoteListener
AppleRemoteListener(QObject *mainWindow_)
Definition: AppleRemoteListener.h:9
AppleRemoteListener::appleRemoteButton
void appleRemoteButton(AppleRemote::Event button, bool pressedDown)
Definition: AppleRemoteListener.cpp:9
AppleRemote::Listener
Definition: AppleRemote.h:42
AppleRemote.h