GDevelop Core
Core library for developing platforms and tools compatible with GDevelop.
ResourceExposer.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 Platform;
10 class Project;
11 class ArbitraryResourceWorker;
12 class EventsFunctionsExtension;
13 class Effect;
14 class Layout;
15 } // namespace gd
16 
17 namespace gd {
18 
22 class GD_CORE_API ResourceExposer {
23  public:
33  static void ExposeWholeProjectResources(gd::Project &project,
35 
41  static void ExposeProjectResources(gd::Project &project,
43 
49  static void ExposeLayoutResources(gd::Project &project,
50  gd::Layout &layout,
52 
56  static void ExposeEffectResources(gd::Platform &platform,
57  gd::Effect &effect,
59 
63  static void ExposeExtensionResources(gd::EventsFunctionsExtension &extension,
65 };
66 
67 } // namespace gd
ArbitraryResourceWorker is used so as to inventory resources and sometimes update them.
Definition: ArbitraryResourceWorker.h:44
Represents an effect that can be applied on a layer.
Definition: Effect.h:22
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
Base class for implementing a platform.
Definition: Platform.h:42
Base class representing a project (game), including all resources, scenes, objects,...
Definition: Project.h:50
Definition: ResourceExposer.h:22
Definition: CommonTools.h:24