Game Develop Core: ArbitraryResourceWorker.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
ArbitraryResourceWorker.h
Go to the documentation of this file.
1
6 #ifndef ARBITRARYRESOURCEWORKER_H
7 #define ARBITRARYRESOURCEWORKER_H
8
9 #include <string>
10 #include <vector>
11 #include <map>
12 #include <boost/shared_ptr.hpp>
13 namespace gd {class BaseEvent;}
14 namespace gd {class Project;}
15
16 namespace gd
17 {
18
31 class GD_CORE_API ArbitraryResourceWorker
32 {
33 public:
34
35 ArbitraryResourceWorker() {};
36 virtual ~ArbitraryResourceWorker();
37
38 virtual void ExposeImage(std::string & imageName) = 0;
39 virtual void ExposeShader(std::string & shaderName) = 0;
40 virtual void ExposeResource(std::string & resource) = 0;
41 };
42
50 void GD_CORE_API LaunchResourceWorkerOnEvents(const gd::Project & project, std::vector < boost::shared_ptr<gd::BaseEvent> > & events, gd::ArbitraryResourceWorker & worker);
51
52 }
53
54 #endif // ARBITRARYRESOURCEWORKER_H