CrystalSpace

Public API Reference

Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

csutil/sysfunc.h File Reference

Common system functions. More...

#include <stdarg.h>
#include <stdio.h>
#include "csextern.h"
#include "ref.h"
#include "csstring.h"
#include "iutil/cfgfile.h"

Go to the source code of this file.

System functions

bool csDefaultRunLoop (iObjectRegistry *)
 Implements a default run-loop for stand-alone applications.

bool csPlatformStartup (iObjectRegistry *)
 Platform-specific startup.

bool csPlatformShutdown (iObjectRegistry *)
 Platform-specific shutdown.

int csPrintf (const char *str,...)
 CS version of printf.

int csPrintfV (const char *str, va_list arg)
 CS version of vprintf.

int csFPutErr (const char *str)
 CS version of fputs (<str>, stderr).

csTicks csGetTicks ()
 Get the current tick count.

void csSleep (int)
 This function will freeze your application for given number of 1/1000 seconds.

csString csGetUsername ()
 Get the username of the account running the program.

csPtr< iConfigFilecsGetPlatformConfig (const char *key)
 Get a platform-specific config object.


Detailed Description

Common system functions.

Definition in file sysfunc.h.


Generated for Crystal Space by doxygen 1.2.18