GDevelop Core
Core library for developing platforms and tools compatible with GDevelop.
PlatformLoader.h
1 /*
2  * GDevelop Core
3  * Copyright 2008-2016 Florian Rival ([email protected]). All rights
4  * reserved. This project is released under the MIT License.
5  */
6 
7 #ifndef PLATFORMLOADER_H
8 #define PLATFORMLOADER_H
9 #include <memory>
10 #include "GDCore/String.h"
11 namespace gd {
12 class Platform;
13 }
14 
15 namespace gd {
16 
31 class GD_CORE_API PlatformLoader {
32  public:
40  static std::shared_ptr<gd::Platform> LoadPlatformInManager(
41  gd::String fullpath);
42 
43  private:
45  virtual ~PlatformLoader(){};
46 };
47 
48 } // namespace gd
49 
50 #endif // PLATFORMLOADER_H
Load a gd::Platform in memory from a file and add it to the manager.
Definition: PlatformLoader.h:31
String represents an UTF8 encoded string.
Definition: String.h:31
Definition: CommonTools.h:24