Main Page   Class Hierarchy   Compound List   Header Files   Compound Members  

ddgFileHelper Class Reference

This global class can is used to define a root directory from which all data files are referenced. More...

#include <ddgutil.h>

List of all members.


Static Public Members

void setDataDirectory ( const char *dataDir )
Define the data directory. Path should include trailing '/'.

char* getFullFileName ( const char *filename )
Return filename concatenated with data directory. More...

void clear (void)
Free the memory which was allocated by this class.


Detailed Description

This global class can is used to define a root directory from which all data files are referenced.


Member Function Documentation

char * ddgFileHelper::getFullFileName (const char * filename) [static]

Return filename concatenated with data directory.

The caller doesnt have to free this string we reuse it each time.


The documentation for this class was generated from the following files:
Generated at Sun Sep 17 19:27:53 2000 for Digital Dawn Graphics Toolkit by doxygen 0.49-991205 written by Dimitri van Heesch, © 1997-1999