Clementine-audio-player-Mac.../src/ui/wiimotedevshortcutgrabber.h

48 lines
1.4 KiB
C
Raw Normal View History

2010-08-29 17:21:50 +02:00
/* This file is part of Clementine.
Clementine is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Clementine is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Clementine. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef WIIMOTEDEVSHORTCUTGRABBER_H
#define WIIMOTEDEVSHORTCUTGRABBER_H
#include <QDialog>
#include <boost/scoped_ptr.hpp>
#include "dbus/wiimotedev.h"
2010-08-29 17:21:50 +02:00
class WiimotedevShortcutsConfig;
class Ui_WiimotedevShortcutGrabber;
class WiimotedevShortcutGrabber : public QDialog {
Q_OBJECT
public:
WiimotedevShortcutGrabber(QWidget* parent = 0);
2010-08-29 17:21:50 +02:00
~WiimotedevShortcutGrabber();
private slots:
void DbusWiimoteGeneralButtons(uint id, qulonglong value);
2010-08-29 17:21:50 +02:00
private:
Ui_WiimotedevShortcutGrabber* ui_;
WiimotedevShortcutsConfig* config_;
boost::scoped_ptr<OrgWiimotedevDeviceEventsInterface> wiimotedev_iface_;
2010-08-29 17:21:50 +02:00
quint32 wiimotedev_device_;
quint64 wiimotedev_buttons_;
quint32 action;
};
#endif // WIIMOTEDEVSHORTCUTGRABBER_H