2
* Copyright © 2015 Canonical Ltd.
4
* This program is free software: you can redistribute it and/or modify
5
* it under the terms of the GNU Lesser General Public License version 3 as
6
* published by the Free Software Foundation.
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 Lesser General Public License for more details.
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/>.
16
* Authored by: Andreas Pokorny <andreas.pokorny@canonical.com>
19
#ifndef MIR_EVENT_PRINTER_H_
20
#define MIR_EVENT_PRINTER_H_
22
#include "mir_toolkit/event.h"
29
std::ostream& operator<<(std::ostream& out, MirInputEventModifier modifier);
30
std::ostream& operator<<(std::ostream& out, MirKeyboardAction action);
31
std::ostream& operator<<(std::ostream& out, MirTouchAction action);
32
std::ostream& operator<<(std::ostream& out, MirTouchTooltype tool);
33
std::ostream& operator<<(std::ostream& out, MirPointerAction action);
34
std::ostream& operator<<(std::ostream& out, MirPromptSessionState state);
35
std::ostream& operator<<(std::ostream& out, MirOrientation orientation);
37
std::ostream& operator<<(std::ostream& out, MirSurfaceAttrib attribute);
38
std::ostream& operator<<(std::ostream& out, MirSurfaceFocusState state);
39
std::ostream& operator<<(std::ostream& out, MirSurfaceVisibility state);
40
std::ostream& operator<<(std::ostream& out, MirSurfaceType type);
41
std::ostream& operator<<(std::ostream& out, MirSurfaceState state);
43
std::ostream& operator<<(std::ostream& out, MirPromptSessionEvent const& event);
44
std::ostream& operator<<(std::ostream& out, MirResizeEvent const& event);
45
std::ostream& operator<<(std::ostream& out, MirOrientationEvent const& event);
46
std::ostream& operator<<(std::ostream& out, MirInputEvent const& event);
47
std::ostream& operator<<(std::ostream& out, MirCloseSurfaceEvent const& event);
48
std::ostream& operator<<(std::ostream& out, MirKeymapEvent const& event);
49
std::ostream& operator<<(std::ostream& out, MirSurfaceEvent const& event);
50
std::ostream& operator<<(std::ostream& out, MirEvent const& event);