~robertcarr/qtubuntu/mir-with-packaging

« back to all changes in this revision

Viewing changes to src/platforms/ubuntu/ubuntumir/ubuntumircommon/input.h

  • Committer: Robert Carr
  • Date: 2013-07-01 19:08:36 UTC
  • mfrom: (147.1.21 mir)
  • Revision ID: robert.carr@canonical.com-20130701190836-ii3f71ujo4kkaacr
Merge qtubuntu/mir

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// This file is part of QtUbuntu, a set of Qt components for Ubuntu.
 
2
// Copyright © 2013 Canonical Ltd.
 
3
//
 
4
// This program is free software: you can redistribute it and/or modify it under
 
5
// the terms of the GNU Lesser General Public License version 3, as published by
 
6
// the Free Software Foundation.
 
7
//
 
8
// This program is distributed in the hope that it will be useful, but WITHOUT
 
9
// ANY WARRANTY; without even the implied warranties of MERCHANTABILITY,
 
10
// SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
11
// Lesser General Public License for more details.
 
12
//
 
13
// You should have received a copy of the GNU Lesser General Public License
 
14
// along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
15
 
 
16
#ifndef QUBUNTU_MIR_INPUT_H
 
17
#define QUBUNTU_MIR_INPUT_H
 
18
 
 
19
#include "ubuntucommon/input.h"
 
20
 
 
21
class QUbuntuIntegration;
 
22
 
 
23
class QUbuntuMirInput : public QUbuntuInput {
 
24
public:
 
25
  QUbuntuMirInput(QUbuntuIntegration* integration);
 
26
  ~QUbuntuMirInput();
 
27
  
 
28
  virtual void dispatchKeyEvent(QWindow* window, const void* event);
 
29
};
 
30
 
 
31
#endif  // QUBUNTU_MIR_INPUT_H