~ubuntu-branches/ubuntu/raring/recorditnow/raring

« back to all changes in this revision

Viewing changes to src/keymon/manager.h

  • Committer: Bazaar Package Importer
  • Author(s): Felix Geyer
  • Date: 2011-01-09 14:54:01 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20110109145401-gyckb4airz4fio50
Tags: 0.8.1-0ubuntu1
* New upstream release. (LP: #681270)
  - Update debian/copyright.
* Build-depend on recordmydesktop.
* Add a watch file.
* Drop 01_fix_ftbfs_kwarning_call.diff, fixed upstream.
* Add 01_joschy_install_to_usr_lib.diff.
* Add 02_fix_ftbfs_no-add-needed.diff.
* Add 03_dont_install_header_files.diff.
* Replace dependency on libpolkit-qt-1-0 with policykit-1.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
#define MANAGER_H
23
23
 
24
24
 
 
25
// own
 
26
#include "deviceinfo.h"
 
27
 
25
28
// KDE
26
29
#include <kdemacros.h>
27
30
 
28
31
// Qt
29
32
#include <QtCore/QObject>
 
33
#include <QtCore/QList>
30
34
 
31
35
 
32
36
 
33
37
namespace KeyMon {
34
38
 
 
39
 
35
40
class Device;
36
41
class KDE_EXPORT Manager : public QObject
37
42
{
39
44
 
40
45
 
41
46
public:
 
47
    struct DeviceData
 
48
    {
 
49
        QString name;
 
50
        QString file;
 
51
        QString uuid;
 
52
    };
42
53
    explicit Manager(QObject *parent = 0);
43
54
    ~Manager();
44
55
 
45
 
    static KeyMon::Device *watch(const QString &device, QObject *parent);
 
56
    static QList<KeyMon::DeviceInfo> getInputDeviceList();
 
57
    static QString fileForDevice(const KeyMon::DeviceInfo &info);
46
58
 
47
59
 
48
60
};
51
63
}; // Namespace KeyMon
52
64
 
53
65
 
 
66
 
54
67
#endif // MANAGER_H