Utils/SWProperties.h File Reference

Constants, structures, and function prototypes for property files. More...

#include <SWCommonHeaders.h>

Typedefs

typedef SWProperties * SWPropertiesPtr

Functions

SWError SWCreateProperties (SWPropertiesPtr *newProperties)
void SWDisposeProperties (SWPropertiesPtr *oldProperties)
SWError SWLoadProperties (SWPropertiesPtr properties, char *filename)
SWError SWLoadProperties_RW (SWPropertiesPtr properties, SDL_RWops *ops)
SWError SWSaveProperties (SWPropertiesPtr properties, char *filename)
SWError SWSaveProperties_RW (SWPropertiesPtr properties, SDL_RWops *ops)
int SWGetPropertyInteger (SWPropertiesPtr properties, char *name, int defaultValue)
float SWGetPropertyFloat (SWPropertiesPtr properties, char *name, float defaultValue)
char * SWGetPropertyString (SWPropertiesPtr properties, char *name, char *defaultValue)
SWBoolean SWGetPropertyBoolean (SWPropertiesPtr properties, char *name, SWBoolean defaultValue)
SWError SWSetPropertyInteger (SWPropertiesPtr properties, char *name, int value)
SWError SWSetPropertyFloat (SWPropertiesPtr properties, char *name, float value)
SWError SWSetPropertyString (SWPropertiesPtr properties, char *name, char *value)
SWError SWSetPropertyBoolean (SWPropertiesPtr properties, char *name, SWBoolean value)


Detailed Description

Constants, structures, and function prototypes for property files.


Typedef Documentation

typedef struct SWProperties* SWPropertiesPtr
 


Function Documentation

SWError SWCreateProperties SWPropertiesPtr newProperties  ) 
 

void SWDisposeProperties SWPropertiesPtr oldProperties  ) 
 

SWBoolean SWGetPropertyBoolean SWPropertiesPtr  properties,
char *  name,
SWBoolean  defaultValue
 

float SWGetPropertyFloat SWPropertiesPtr  properties,
char *  name,
float  defaultValue
 

int SWGetPropertyInteger SWPropertiesPtr  properties,
char *  name,
int  defaultValue
 

char* SWGetPropertyString SWPropertiesPtr  properties,
char *  name,
char *  defaultValue
 

SWError SWLoadProperties SWPropertiesPtr  properties,
char *  filename
 

SWError SWLoadProperties_RW SWPropertiesPtr  properties,
SDL_RWops *  ops
 

SWError SWSaveProperties SWPropertiesPtr  properties,
char *  filename
 

SWError SWSaveProperties_RW SWPropertiesPtr  properties,
SDL_RWops *  ops
 

SWError SWSetPropertyBoolean SWPropertiesPtr  properties,
char *  name,
SWBoolean  value
 

SWError SWSetPropertyFloat SWPropertiesPtr  properties,
char *  name,
float  value
 

SWError SWSetPropertyInteger SWPropertiesPtr  properties,
char *  name,
int  value
 

SWError SWSetPropertyString SWPropertiesPtr  properties,
char *  name,
char *  value
 


Generated on Sun Jun 18 14:11:04 2006 for SpriteWorld X by  doxygen 1.4.6