OpenGUI::ResourceProvider Class Reference

#include <OpenGUI_ResourceProvider.h>

Inheritance diagram for OpenGUI::ResourceProvider:

OpenGUI::GenericResourceProvider List of all members.

Detailed Description

Abstract class. Used as a base class for custom resource providers.


Public Member Functions

virtual void loadResource (const String &filename, Resource &output)=0
 This will be called whenever OpenGUI needs data from the registered resource provider.
virtual void unloadResource (Resource &resource)=0
 This is called whenever OpenGUI is done with the data and is ready to destroy the Resource contents.


Member Function Documentation

virtual void OpenGUI::ResourceProvider::loadResource const String filename,
Resource output
[pure virtual]
 

This will be called whenever OpenGUI needs data from the registered resource provider.

Implemented in OpenGUI::GenericResourceProvider.

virtual void OpenGUI::ResourceProvider::unloadResource Resource resource  )  [pure virtual]
 

This is called whenever OpenGUI is done with the data and is ready to destroy the Resource contents.

Implemented in OpenGUI::GenericResourceProvider.


The documentation for this class was generated from the following file:
Copyright © 2006 OpenGUI | OpenGUI.SF.net
Generated: Sun Sep 9 02:00:21 2007