Game Develop C++ Platform: ChangesNotifier.h Source File

| Game Develop C++ Platform Platform for developing native games based on OpenGL and SFML with Game Develop

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Groups Pages
ChangesNotifier.h
Go to the documentation of this file.
1
5 #if defined(GD_IDE_ONLY)
6 #ifndef CHANGESNOTIFIER_H
7 #define CHANGESNOTIFIER_H
8 #include "GDCore/PlatformDefinition/ChangesNotifier.h"
9
18 class ChangesNotifier : public gd::ChangesNotifier
19 {
20 public:
21 ChangesNotifier() : gd::ChangesNotifier() {};
22 virtual ~ChangesNotifier() {};
23
27
29 virtual void OnLayoutAdded(gd::Project & project, gd::Layout & layout) const;
30 virtual void OnLayoutRenamed(gd::Project & project, gd::Layout & layout, const std::string & oldName) const;
31 virtual void OnLayoutDeleted(gd::Project & project, const std::string deletedLayout) const;
32 virtual void OnVariablesModified(gd::Project & project, gd::Layout * layout = NULL) const;
33 virtual void OnObjectEdited(gd::Project & project, gd::Layout * layout, gd::Object & object) const;
34 virtual void OnObjectAdded(gd::Project & project, gd::Layout * layout, gd::Object & object) const;
35 virtual void OnObjectRenamed(gd::Project & project, gd::Layout * layout, gd::Object & object, const std::string & oldName) const;
36 virtual void OnObjectsDeleted(gd::Project & project, gd::Layout * layout, const std::vector<std::string> & deletedObjects) const;
37 virtual void OnObjectVariablesChanged(gd::Project & project, gd::Layout * layout, gd::Object & object) const;
38 virtual void OnAutomatismEdited(gd::Project & project, gd::Layout * layout, gd::Object & object, gd::Automatism & automatism) const;
39 virtual void OnAutomatismAdded(gd::Project & project, gd::Layout * layout, gd::Object & object, gd::Automatism & automatism) const;
40 virtual void OnAutomatismRenamed(gd::Project & project, gd::Layout * layout, gd::Object & object, gd::Automatism & automatism, const std::string & oldName) const;
41 virtual void OnAutomatismDeleted(gd::Project & project, gd::Layout * layout, gd::Object & object, const std::string & automatismName) const;
42 virtual void OnObjectGroupAdded(gd::Project & project, gd::Layout * layout, const std::string & groupName) const;
43 virtual void OnObjectGroupEdited(gd::Project & project, gd::Layout * layout, const std::string & groupName) const;
44 virtual void OnObjectGroupRenamed(gd::Project & project, gd::Layout * layout, const std::string & groupName, const std::string & oldName) const;
45 virtual void OnObjectGroupDeleted(gd::Project & project, gd::Layout * layout, const std::string & groupName) const;
46 virtual void OnEventsModified(gd::Project & project, gd::Layout & layout, bool indirectChange = false, std::string sourceOfTheIndirectChange = "") const;
47 virtual void OnEventsModified(gd::Project & project, gd::ExternalEvents & externalEvents, bool indirectChange = false, std::string sourceOfTheIndirectChange = "") const;
48 virtual void OnResourceModified(gd::Project & project, const std::string & resourceName) const;
49 virtual void OnExternalEventsAdded(gd::Project & project, gd::ExternalEvents & events) const;
50 virtual void OnExternalEventsRenamed(gd::Project & project, gd::ExternalEvents & events, const std::string & oldName) const;
51 virtual void OnExternalEventsDeleted(gd::Project & project, const std::string deletedLayout) const;
52
54
55 private:
56
61 void RequestFullRecompilation(gd::Project & project, gd::Layout * layout) const;
62 };
63
64 #endif // CHANGESNOTIFIER_H
65 #endif
66