CrystalSpace

Public API Reference

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

syspath.h File Reference

Paths helpers. More...

#include "csextern.h"
#include "array.h"
#include "csstring.h"
#include "ref.h"
#include "util.h"
#include "iutil/stringarray.h"

Go to the source code of this file.

Classes

struct  csPluginPath
 This structure contains information about a plugin path. More...
class  csPluginPaths
 Class to manage a list of plugin paths. More...

Helpers to deal with native paths

csRef< iStringArraycsFindSystemRoots ()
 Get the list of root directories.
csString csGetConfigPath ()
 Get the installation path.
csPluginPathscsGetPluginPaths (const char *argv0)
 Get a list of directories where plugins are installed.
char * csExpandPath (const char *path)
 Expand a native path relative to the current directory.
csString csGetAppPath (const char *argv0)
 Return the absolute path of the executable.
csString csGetAppDir (const char *argv0)
 Return the directory in which the application executable resides.
csString csGetResourceDir (const char *argv0)
 Return the directory in which the application's resources reside.
bool csPathsIdentical (const char *path1, const char *path2)
 Check whether two native paths actually point to the same location.


Detailed Description

Paths helpers.

Definition in file syspath.h.


Generated for Crystal Space by doxygen 1.3.9.1