Cytopia
0.3
A city building simulation game
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
Functions
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
w
z
~
Variables
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Typedefs
a
c
d
e
g
i
m
n
p
r
s
t
u
v
Enumerations
Enumerator
Related Functions
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
z
Functions
b
c
d
f
g
i
m
o
p
r
s
t
w
Variables
a
c
d
g
h
i
l
m
n
r
s
t
Typedefs
a
c
d
e
f
g
i
j
l
m
n
r
s
t
v
Enumerations
Enumerator
a
b
d
e
f
g
l
m
n
p
r
s
t
u
w
z
Macros
_
c
e
i
l
n
r
s
t
v
Examples
▼
Cytopia
Todo List
►
Namespaces
►
Classes
▼
Files
►
File List
►
File Members
►
Examples
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
OSystem.hxx
Go to the documentation of this file.
1
#ifndef OSYSTEM_H_
2
#define OSYSTEM_H_
3
4
#include <string>
5
6
struct
OSystem
7
{
8
enum class
Type
9
{
10
unknown
,
11
windows
,
12
unix
,
13
linux
,
14
macos
,
15
bsd
,
16
haiku
,
17
beos
,
18
android
19
};
20
static
void
error
(
const
std::string
&title,
const
std::string
&text);
21
static
void
openUrl
(
const
std::string
&url,
const
std::string
&prefix =
""
);
22
static
void
openDir
(
const
std::string
&path,
const
std::string
&prefix =
""
);
23
24
static
bool
is
(
Type
type);
25
static
bool
isAndroid
();
26
static
bool
isLinux
();
27
static
bool
isUnix
();
28
static
bool
isMac
();
29
static
bool
isWindows
();
30
};
31
32
#endif // OSYSTEM_H_
OSystem::is
static bool is(Type type)
Definition:
OSystem.cxx:88
OSystem::openDir
static void openDir(const std::string &path, const std::string &prefix="")
Definition:
OSystem.cxx:71
OSystem::openUrl
static void openUrl(const std::string &url, const std::string &prefix="")
Definition:
OSystem.cxx:55
OSystem::Type::macos
@ macos
OSystem::Type::unknown
@ unknown
OSystem::Type::android
@ android
OSystem::Type::bsd
@ bsd
OSystem::isMac
static bool isMac()
Definition:
OSystem.cxx:132
OSystem::Type::beos
@ beos
OSystem::isAndroid
static bool isAndroid()
Definition:
OSystem.cxx:129
OSystem::isLinux
static bool isLinux()
Definition:
OSystem.cxx:130
OSystem::isUnix
static bool isUnix()
Definition:
OSystem.cxx:131
OSystem::isWindows
static bool isWindows()
Definition:
OSystem.cxx:133
OSystem::Type::unix
@ unix
OSystem::Type
Type
Definition:
OSystem.hxx:8
OSystem::Type::windows
@ windows
OSystem::Type::linux
@ linux
OSystem::Type::haiku
@ haiku
OSystem
Definition:
OSystem.hxx:6
string
std::string string
Definition:
AudioConfig.hxx:14
OSystem::error
static void error(const std::string &title, const std::string &text)
Definition:
OSystem.cxx:34
src
util
OSystem.hxx
Generated on Sun Nov 27 2022 09:50:52 for Cytopia by
1.8.17