NLGEORGES::UFormLoader Class Reference

#include <u_form_loader.h>

Inheritance diagram for NLGEORGES::UFormLoader:

NLGEORGES::CFormLoader

Detailed Description

Georges form loader interface

Author:
Cyril 'Hulud' Corvazier

Nevrax France

Date:
2002

Definition at line 46 of file u_form_loader.h.

Public Member Functions

virtual UFormloadForm (const char *filename)=0
virtual UFormDfnloadFormDfn (const char *filename)=0
virtual UTypeloadFormType (const char *filename)=0

Static Public Member Functions

UFormLoadercreateLoader ()
 Create a form loader.

void releaseLoader (UFormLoader *loader)
 Create a form loader.


Member Function Documentation

UFormLoader * NLGEORGES::UFormLoader::createLoader  )  [static]
 

Create a form loader.

Definition at line 53 of file form_loader.cpp.

Referenced by NLSOUND::CAudioMixerUser::init(), and loadForm().

00054 {
00055         return new CFormLoader;
00056 }

virtual UForm* NLGEORGES::UFormLoader::loadForm const char *  filename  )  [pure virtual]
 

Load a form, use NMISC::CPath to find the file.

The pointer on the form must be held in a CSmartPtr<UForm>. Returns NULL if the form can't be loaded.

Implemented in NLGEORGES::CFormLoader.

Referenced by NLSOUND::CAudioMixerUser::init(), and loadForm().

virtual UFormDfn* NLGEORGES::UFormLoader::loadFormDfn const char *  filename  )  [pure virtual]
 

Load a DFN, use NMISC::CPath to find the file.

The pointer on the form must be held in a CSmartPtr<UFormDfn>. Returns NULL if the DFN can't be loaded.

Implemented in NLGEORGES::CFormLoader.

virtual UType* NLGEORGES::UFormLoader::loadFormType const char *  filename  )  [pure virtual]
 

Load a type, use NMISC::CPath to find the file.

The pointer on the form must be held in a CSmartPtr<UType>. Returns NULL if the type can't be loaded.

Implemented in NLGEORGES::CFormLoader.

void NLGEORGES::UFormLoader::releaseLoader UFormLoader loader  )  [static]
 

Create a form loader.

Definition at line 60 of file form_loader.cpp.

Referenced by NLSOUND::CAudioMixerUser::init(), and loadForm().

00061 {
00062         delete ((CFormLoader*)loader);
00063 }


The documentation for this class was generated from the following files:
Generated on Tue Mar 16 12:46:53 2004 for NeL by doxygen 1.3.6