GDevelop Core
Core library for developing platforms and tools compatible with GDevelop.
ExtensionsLoader.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 EXTENSIONSLOADER_H
8 #define EXTENSIONSLOADER_H
9 #include <vector>
10 #include "GDCore/String.h"
11 namespace gd {
12 class Platform;
13 }
14 
15 namespace gd {
16 
28 class GD_CORE_API ExtensionsLoader {
29  public:
43  static void LoadAllExtensions(const gd::String& directory,
44  gd::Platform& platform,
45  bool forgiving = false);
46 
56  static void LoadExtension(const gd::String& fullpath,
57  gd::Platform& platform,
58  bool forgiving = false);
59 
67  static void ExtensionsLoadingDone(const gd::String& directory);
68 
69  private:
70  ExtensionsLoader(){};
71  virtual ~ExtensionsLoader(){};
72 };
73 
74 } // namespace gd
75 
76 #endif // EXTENSIONSLOADER_H
Internal class loading static extensions.
Definition: ExtensionsLoader.h:28
Base class for implementing a platform.
Definition: Platform.h:42
String represents an UTF8 encoded string.
Definition: String.h:31
Definition: CommonTools.h:24