Game Develop Core: EventsChangesNotifier.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
EventsChangesNotifier.h
Go to the documentation of this file.
1
5 #ifndef GDCORE_EVENTSCHANGENOTIFIER_H
6 #define GDCORE_EVENTSCHANGENOTIFIER_H
7 #include <vector>
8 #include <string>
9 #include <boost/shared_ptr.hpp>
10 #include <boost/weak_ptr.hpp>
11 namespace gd { class Layout; }
12 namespace gd { class Project; }
13 namespace gd { class ExternalEvents; }
14 namespace gd { class Platform; }
15 namespace gd { class BaseEvent; }
16 namespace gd { class Instruction; }
17 namespace gd {typedef boost::shared_ptr<gd::BaseEvent> BaseEventSPtr;}
18
19 namespace gd
20 {
21
26 class GD_CORE_API EventsChangesNotifier
27 {
28 public:
29 static void NotifyChangesInEventsOfScene(gd::Project & project, gd::Layout & layout);
30 static void NotifyChangesInEventsOfExternalEvents(gd::Project & project, gd::ExternalEvents & externalEvents);
31
32 private:
39 static void GetScenesAndExternalEventsLinkedTo(const std::vector< boost::shared_ptr<gd::BaseEvent> > & events, gd::Project & project, std::vector< gd::Layout * > & layouts, std::vector< gd::ExternalEvents * > & externalEvents);
40
41 EventsChangesNotifier() {};
42 virtual ~EventsChangesNotifier() {};
43 };
44
45 }
46
47 #endif // GDCORE_EVENTSCHANGENOTIFIER_H