GDevelop Core
Core library for developing platforms and tools compatible with GDevelop.
ProjectBrowserHelper.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 #pragma once
7 
8 namespace gd {
9 class Project;
10 class Layout;
11 class String;
12 class EventsFunctionsExtension;
13 class EventsFunction;
14 class EventsBasedBehavior;
15 class EventsBasedObject;
16 class ArbitraryEventsWorker;
17 class ArbitraryEventsWorkerWithContext;
18 class ArbitraryEventsFunctionsWorker;
19 class ArbitraryObjectsWorker;
20 class ArbitraryEventBasedBehaviorsWorker;
21 class ArbitraryBehaviorSharedDataWorker;
22 class VariablesContainer;
23 } // namespace gd
24 
25 namespace gd {
26 
30 class GD_CORE_API ProjectBrowserHelper {
31 public:
38  static void ExposeProjectEvents(gd::Project &project,
40 
47  static void ExposeProjectEvents(gd::Project &project,
49 
56  static void
57  ExposeProjectEventsWithoutExtensions(gd::Project &project,
59 
66  static void ExposeProjectEventsWithoutExtensions(
68 
73  static void ExposeLayoutEventsAndExternalEvents(gd::Project &project, gd::Layout &layout,
75 
80  static void ExposeLayoutEventsAndExternalEvents(gd::Project &project, gd::Layout &layout,
82 
88  static void
89  ExposeLayoutEventsAndDependencies(gd::Project &project, gd::Layout &layout,
91 
99  static void ExposeEventsFunctionsExtensionEvents(
100  gd::Project &project,
101  const gd::EventsFunctionsExtension &eventsFunctionsExtension,
102  gd::ArbitraryEventsWorker &worker);
103 
111  static void ExposeEventsFunctionsExtensionEvents(
112  gd::Project &project,
113  const gd::EventsFunctionsExtension &eventsFunctionsExtension,
115 
123  static void ExposeEventsBasedBehaviorEvents(
124  gd::Project &project, const gd::EventsBasedBehavior &eventsBasedBehavior,
125  gd::ArbitraryEventsWorker &worker);
126 
134  static void ExposeEventsBasedBehaviorEvents(
135  gd::Project &project,
136  const gd::EventsFunctionsExtension &eventsFunctionsExtension,
137  const gd::EventsBasedBehavior &eventsBasedBehavior,
139 
147  static void ExposeEventsBasedBehaviorEvents(
148  gd::Project &project,
149  const gd::EventsFunctionsExtension &eventsFunctionsExtension,
150  const gd::EventsBasedBehavior &eventsBasedBehavior,
151  gd::VariablesContainer &propertyVariablesContainer,
153 
161  static void
162  ExposeEventsBasedObjectEvents(gd::Project &project,
163  const gd::EventsBasedObject &eventsBasedObject,
164  gd::ArbitraryEventsWorker &worker);
165 
173  static void ExposeEventsBasedObjectEvents(
174  gd::Project &project,
175  const gd::EventsFunctionsExtension &eventsFunctionsExtension,
176  const gd::EventsBasedObject &eventsBasedObject,
178 
186  static void ExposeEventsBasedObjectEvents(
187  gd::Project &project,
188  const gd::EventsFunctionsExtension &eventsFunctionsExtension,
189  const gd::EventsBasedObject &eventsBasedObject,
190  gd::VariablesContainer &propertyVariablesContainer,
192 
199  static void ExposeProjectObjects(gd::Project &project,
201 
207  static void ExposeLayoutObjects(gd::Layout &layout,
209 
217  static void ExposeProjectFunctions(gd::Project &project,
219 
226  static void ExposeProjectEventBasedBehaviors(
228 
235  static void ExposeProjectSharedDatas(gd::Project &project,
237 };
238 
239 } // namespace gd
ArbitraryBehaviorSharedDataWorker is an abstract class used to browse shared data and do some work on...
Definition: ArbitraryBehaviorSharedDataWorker.h:29
ArbitraryEventsFunctionsWorker is an abstract class used to browse event-based behaviors and do some ...
Definition: ArbitraryEventBasedBehaviorsWorker.h:29
ArbitraryEventsFunctionsWorker is an abstract class used to browse functions signatures and do some w...
Definition: ArbitraryEventsFunctionsWorker.h:30
ArbitraryEventsWorker is an abstract class used to browse events (and instructions) and do some work ...
Definition: ArbitraryEventsWorker.h:111
An events worker that will know about the context (the objects container). Useful for workers working...
Definition: ArbitraryEventsWorker.h:136
ArbitraryObjectsWorker is an abstract class used to browse objects (and behaviors) and do some work o...
Definition: ArbitraryObjectsWorker.h:30
Represents a behavior that is implemented with events.
Definition: EventsBasedBehavior.h:31
Represents an object that is implemented with events.
Definition: EventsBasedObject.h:30
Hold a list of Events Functions (gd::EventsFunction) and Events Based Behaviors.
Definition: EventsFunctionsExtension.h:39
Represent a layout ( also called a scene ) of a project.
Definition: Layout.h:40
Expose a subset of the project to workers.
Definition: ProjectBrowserHelper.h:30
Base class representing a project (game), including all resources, scenes, objects,...
Definition: Project.h:50
Class defining a container for gd::Variable.
Definition: VariablesContainer.h:28
Definition: CommonTools.h:24