~ubuntu-branches/ubuntu/wily/kwin/wily-proposed

« back to all changes in this revision

Viewing changes to libinput/context.h

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2015-08-10 23:16:37 UTC
  • mfrom: (1.1.10)
  • Revision ID: package-import@ubuntu.com-20150810231637-5zb2tstjkez93hml
Tags: 4:5.3.95-0ubuntu1
new upstream beta release

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
 
23
23
#include <libinput.h>
24
24
 
25
 
struct udev;
26
 
 
27
25
namespace KWin
28
26
{
 
27
 
 
28
class Udev;
 
29
 
29
30
namespace LibInput
30
31
{
31
32
 
32
33
class Event;
33
34
 
34
 
class Udev
35
 
{
36
 
public:
37
 
    Udev();
38
 
    ~Udev();
39
 
 
40
 
    bool isValid() const {
41
 
        return m_udev != nullptr;
42
 
    }
43
 
    operator udev*() const {
44
 
        return m_udev;
45
 
    }
46
 
    operator udev*() {
47
 
        return m_udev;
48
 
    }
49
 
private:
50
 
    struct udev *m_udev;
51
 
};
52
 
 
53
35
class Context
54
36
{
55
37
public: