Mir
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
src
server
input
android
android_input_channel.h
Go to the documentation of this file.
1
/*
2
* Copyright © 2013 Canonical Ltd.
3
*
4
* This program is free software: you can redistribute it and/or modify it
5
* under the terms of the GNU General Public License version 3,
6
* as published by the Free Software Foundation.
7
*
8
* This program is distributed in the hope that it will be useful,
9
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
* GNU General Public License for more details.
12
*
13
* You should have received a copy of the GNU General Public License
14
* along with this program. If not, see <http://www.gnu.org/licenses/>.
15
*
16
* Authored by: Robert Carr <robert.carr@canonical.com>
17
*/
18
19
#ifndef MIR_INPUT_ANDROID_INPUT_CHANNEL_H_
20
#define MIR_INPUT_ANDROID_INPUT_CHANNEL_H_
21
22
#include "
mir/input/input_channel.h
"
23
24
namespace
android
25
{
26
class
InputChannel;
27
}
28
29
namespace
droidinput
=
android
;
30
31
namespace
mir
32
{
33
namespace
input
34
{
35
namespace
android
36
{
37
38
class
AndroidInputChannel
:
public
InputChannel
39
{
40
public
:
41
explicit
AndroidInputChannel
();
42
virtual
~AndroidInputChannel
();
43
44
int
client_fd
()
const
;
45
int
server_fd
()
const
;
46
47
protected
:
48
AndroidInputChannel
(
AndroidInputChannel
const
&) =
delete
;
49
AndroidInputChannel
&
operator=
(
AndroidInputChannel
const
&) =
delete
;
50
51
private
:
52
int
s_fd, c_fd;
53
};
54
55
}
56
}
57
}
// namespace mir
58
59
#endif // MIR_INPUT_ANDROID_INPUT_CHANNEL_H_
mir::input::InputChannel
Encapsulates a paired set of fd's suitable for input communication.
Definition:
input_channel.h:28
mir
All things Mir.
Definition:
aging_buffer.h:24
mir::input::android::AndroidInputChannel::~AndroidInputChannel
virtual ~AndroidInputChannel()
mir::input::android::AndroidInputChannel
Definition:
android_input_channel.h:38
mir::input::android::AndroidInputChannel::server_fd
int server_fd() const
mir::input::android::AndroidInputChannel::operator=
AndroidInputChannel & operator=(AndroidInputChannel const &)=delete
input_channel.h
mir::input::android::AndroidInputChannel::AndroidInputChannel
AndroidInputChannel()
mir::input::android::AndroidInputChannel::client_fd
int client_fd() const
android
Definition:
android_input_receiver.h:32
Copyright © 2012,2013 Canonical Ltd.
Generated on Fri Oct 10 14:07:14 UTC 2014