Gwork: 0.3.0Dev |
#include <PlatformTypes.h>
Public Types | |
enum | NotificationType { NotificationType::DeviceLost, NotificationType::DeviceAcquired, NotificationType::ReleaseResources, MaxMessages, UserMessageStart = 100 } |
Types of notification that the loader might want to know about. More... | |
Public Member Functions | |
virtual Font::Status | LoadFont (Font &font)=0 |
virtual void | FreeFont (Font &font)=0 |
virtual Texture::Status | LoadTexture (Texture &texture)=0 |
virtual void | FreeTexture (Texture &texture)=0 |
virtual void | Notify (NotificationType msg) |
Base class for resource loaders.
These are used to load, create and destroy resource needed for Gwork.
|
strong |
|
inlinevirtual |
Notification of certain events. May be platform specific. Loader can deal with the events accordingly.