Game Develop Core: ResourcesAbsolutePathChecker.h Source File

| Game Develop Core Core library for developing platforms and tools compatible with Game Develop.

- Main Page
- Modules
- Classes

- File List
- File Members

All Classes Files Functions Variables Typedefs Enumerations Macros Groups Pages
ResourcesAbsolutePathChecker.h
Go to the documentation of this file.
1
5 #if defined(GD_IDE_ONLY) && !defined(GD_NO_WX_GUI)
6 #ifndef RESOURCESABSOLUTEPATHCHECKER_H
7 #define RESOURCESABSOLUTEPATHCHECKER_H
8
9 #include "GDCore/IDE/ArbitraryResourceWorker.h"
10 #include <string>
11
12 namespace gd
13 {
14
22 class GD_CORE_API ResourcesAbsolutePathChecker : public ArbitraryResourceWorker
23 {
24 public:
25 ResourcesAbsolutePathChecker() : ArbitraryResourceWorker(), hasAbsoluteFilenames(false) {};
26 virtual ~ResourcesAbsolutePathChecker() {};
27
31 bool HasResourceWithAbsoluteFilenames() const { return hasAbsoluteFilenames; };
32
36 virtual void ExposeResource(std::string & resource);
37
38 virtual void ExposeImage(std::string & imageName) {};
39 virtual void ExposeShader(std::string & shaderName) {};
40
41 private:
42 bool hasAbsoluteFilenames;
43 };
44
45 }
46
47 #endif // RESOURCESABSOLUTEPATHCHECKER_H
48 #endif