]> git.lizzy.rs Git - irrlicht.git/blob - include/exampleHelper.h
Reduce IrrCompileConfig usage to files that actually need it
[irrlicht.git] / include / exampleHelper.h
1 // Copyright (C) 2015 Patryk Nadrowski\r
2 // This file is part of the "Irrlicht Engine".\r
3 // For conditions of distribution and use, see copyright notice in irrlicht.h\r
4 \r
5 #ifndef __EXAMPLE_HELPER_H_INCLUDED__\r
6 #define __EXAMPLE_HELPER_H_INCLUDED__\r
7 \r
8 #include "path.h"\r
9 \r
10 namespace irr\r
11 {\r
12 \r
13 static io::path getExampleMediaPath()\r
14 {\r
15 #ifdef IRR_MOBILE_PATHS\r
16         return io::path("media/");\r
17 #else\r
18         return io::path("../../media/");\r
19 #endif\r
20 }\r
21 \r
22 } // end namespace irr\r
23 \r
24 #endif\r