Changeset View
Changeset View
Standalone View
Standalone View
common/globals.h
Show All 15 Lines | |||||
16 | *********************************************************************/ | 16 | *********************************************************************/ | ||
17 | #ifndef COMMON_GLOBALS_H | 17 | #ifndef COMMON_GLOBALS_H | ||
18 | #define COMMON_GLOBALS_H | 18 | #define COMMON_GLOBALS_H | ||
19 | 19 | | |||
20 | #include <QString> | 20 | #include <QString> | ||
21 | 21 | | |||
22 | namespace Globals | 22 | namespace Globals | ||
23 | { | 23 | { | ||
24 | enum class DeviceOrientation { | ||||
25 | Undefined, | ||||
26 | TopUp, | ||||
27 | TopDown, | ||||
28 | LeftUp, | ||||
29 | RightUp, | ||||
30 | FaceUp, | ||||
31 | FaceDown | ||||
32 | }; | ||||
33 | | ||||
24 | void setDirPath(const QString &path); | 34 | void setDirPath(const QString &path); | ||
25 | QString dirPath(); | 35 | QString dirPath(); | ||
26 | } | 36 | } | ||
27 | 37 | | |||
28 | #endif | 38 | #endif |