GDevelop Core
Core library for developing platforms and tools compatible with GDevelop.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Public Member Functions | List of all members
gd::ResourcesAbsolutePathChecker Class Reference

Helper used to check if a project has at least a resource with an absolute filename. More...

#include <ResourcesAbsolutePathChecker.h>

Inherits gd::ArbitraryResourceWorker.

Public Member Functions

 ResourcesAbsolutePathChecker (AbstractFileSystem &fileSystem)
 
bool HasResourceWithAbsoluteFilenames () const
 
virtual void ExposeFile (gd::String &resource)
 
- Public Member Functions inherited from gd::ArbitraryResourceWorker
void ExposeResources (gd::ResourcesManager *resourcesManager)
 Expose a set of resources. More...
 
virtual void ExposeImage (gd::String &imageName)
 Expose an image, which is always a reference to a "image" resource.
 
virtual void ExposeAudio (gd::String &audioName)
 Expose an audio, which is either a reference to an "audio" resource, or a filename if no resource with this name exists.
 
virtual void ExposeFont (gd::String &fontName)
 Expose a font, which is either a reference to a "font" resource, or a filename if no resource with this name exists.
 
virtual void ExposeShader (gd::String &shaderName)
 Expose a shader. Currently unsupported.
 

Additional Inherited Members

- Protected Member Functions inherited from gd::ArbitraryResourceWorker
const std::vector
< gd::ResourcesManager * > & 
GetResources ()
 

Detailed Description

Helper used to check if a project has at least a resource with an absolute filename.

See also
ArbitraryResourceWorker

Member Function Documentation

void gd::ResourcesAbsolutePathChecker::ExposeFile ( gd::String resource)
virtual

Check if there is a resource with an absolute path

Implements gd::ArbitraryResourceWorker.

bool gd::ResourcesAbsolutePathChecker::HasResourceWithAbsoluteFilenames ( ) const
inline

Return true if there is at least a resource with an absolute filename.


The documentation for this class was generated from the following files: