FS2_Open
Open source remastering of the Freespace 2 engine
osregistry.h File Reference
#include <stdlib.h>

Go to the source code of this file.

Functions

void os_init_registry_stuff (const char *company, const char *app, const char *version)
 
void os_config_write_string (const char *section, const char *name, const char *value)
 
void os_config_write_uint (const char *section, const char *name, unsigned int value)
 
const char * os_config_read_string (const char *section, const char *name, const char *default_value=0)
 
unsigned int os_config_read_uint (const char *section, const char *name, unsigned int default_value)
 

Variables

const char * Osreg_company_name
 
const char * Osreg_class_name
 
const char * Osreg_app_name
 
const char * Osreg_title
 

Function Documentation

const char* os_config_read_string ( const char *  section,
const char *  name,
const char *  default_value = 0 
)

Definition at line 322 of file osregistry.cpp.

unsigned int os_config_read_uint ( const char *  section,
const char *  name,
unsigned int  default_value 
)

Definition at line 372 of file osregistry.cpp.

void os_config_write_string ( const char *  section,
const char *  name,
const char *  value 
)

Definition at line 221 of file osregistry.cpp.

void os_config_write_uint ( const char *  section,
const char *  name,
unsigned int  value 
)

Definition at line 269 of file osregistry.cpp.

void os_init_registry_stuff ( const char *  company,
const char *  app,
const char *  version 
)

Definition at line 423 of file osregistry.cpp.

Variable Documentation

const char* Osreg_app_name

Definition at line 35 of file osregistry.cpp.

const char* Osreg_class_name

Definition at line 29 of file osregistry.cpp.

const char* Osreg_company_name

Definition at line 28 of file osregistry.cpp.

const char* Osreg_title

Definition at line 36 of file osregistry.cpp.