Mir
input_device_observer.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 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 MIROIL_INPUT_DEVICE_OBSERVER_H
17#define MIROIL_INPUT_DEVICE_OBSERVER_H
18
19#include <miroil/input_device.h>
20
21#include <memory>
22#include <string>
23
24namespace miroil
25{
27{
28public:
33
34 virtual void device_added(miroil::InputDevice device) = 0;
35 virtual void device_removed(miroil::InputDevice device) = 0;
36};
37
38}
39
40#endif //MIROIL_INPUT_DEVICE_OBSERVER_H
Definition: input_device.h:27
Definition: input_device_observer.h:27
InputDeviceObserver & operator=(InputDeviceObserver const &)=delete
virtual void device_removed(miroil::InputDevice device)=0
InputDeviceObserver(InputDeviceObserver const &)=delete
virtual void device_added(miroil::InputDevice device)=0
Definition: compositor.h:21

Copyright © 2012-2023 Canonical Ltd.
Generated on Tue 2 May 10:01:24 UTC 2023
This documentation is licensed under the GPL version 2 or 3.