]> git.lizzy.rs Git - irrlicht.git/blob - include/exampleHelper.h
803ed6ee98bcfb46cef76fb0caedd31239f7cae3
[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 "IrrCompileConfig.h"\r
9 #include "path.h"\r
10 \r
11 namespace irr\r
12 {\r
13 \r
14 static io::path getExampleMediaPath()\r
15 {\r
16 #ifdef IRR_MOBILE_PATHS\r
17         return io::path("media/");\r
18 #else\r
19         return io::path("../../media/");\r
20 #endif\r
21 }\r
22 \r
23 } // end namespace irr\r
24 \r
25 #endif\r