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 EventsBasedObjectVariant;
13 class EventsFunctionsExtension;
14 class Effect;
15 class Layout;
16 } // namespace gd
17 
18 namespace gd {
19 
23 class GD_CORE_API ResourceExposer {
24 public:
34  static void ExposeWholeProjectResources(gd::Project &project,
36 
42  static void ExposeProjectResources(gd::Project &project,
44 
50  static void ExposeLayoutResources(gd::Project &project,
51  gd::Layout &layout,
53 
57  static void ExposeEventsBasedObjectVariantResources(
58  gd::Project &project,
59  gd::EventsBasedObjectVariant &eventsBasedObjectVariant,
61 
65  static void ExposeEffectResources(gd::Platform &platform,
66  gd::Effect &effect,
68 
72  static void ExposeExtensionResources(gd::EventsFunctionsExtension &extension,
74 };
75 
76 } // 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:21
Represents a variation of style of an events-based object.
Definition: EventsBasedObjectVariant.h:26
Hold a list of Events Functions (gd::EventsFunction) and Events Based Behaviors.
Definition: EventsFunctionsExtension.h:41
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:23
Definition: CommonTools.h:24