Blender V2.61 - r43446
Public Member Functions

GHOST_SystemPathsX11 Class Reference

#include <GHOST_SystemPathsX11.h>

Inheritance diagram for GHOST_SystemPathsX11:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 GHOST_SystemPathsX11 ()
virtual ~GHOST_SystemPathsX11 ()
const GHOST_TUns8getSystemDir () const
const GHOST_TUns8getUserDir () const
const GHOST_TUns8getBinaryDir () const
void addToSystemRecentFiles (const char *filename) const

Detailed Description

Definition at line 39 of file GHOST_SystemPathsX11.h.


Constructor & Destructor Documentation

GHOST_SystemPathsX11::GHOST_SystemPathsX11 ( )

Constructor this class should only be instanciated by GHOST_ISystem.

Definition at line 55 of file GHOST_SystemPathsX11.cpp.

GHOST_SystemPathsX11::~GHOST_SystemPathsX11 ( ) [virtual]

Destructor.

Definition at line 59 of file GHOST_SystemPathsX11.cpp.


Member Function Documentation

void GHOST_SystemPathsX11::addToSystemRecentFiles ( const char *  filename) const [virtual]

Add the file to the operating system most recently used files

Implements GHOST_SystemPaths.

Definition at line 99 of file GHOST_SystemPathsX11.cpp.

const GHOST_TUns8 * GHOST_SystemPathsX11::getBinaryDir ( ) const [virtual]

Determine the directory of the current binary

Returns:
Unsigned char string pointing to the binary dir

Implements GHOST_SystemPaths.

Definition at line 94 of file GHOST_SystemPathsX11.cpp.

References NULL.

const GHOST_TUns8 * GHOST_SystemPathsX11::getSystemDir ( ) const [virtual]

Determine the base dir in which shared resources are located. It will first try to use "unpack and run" path, then look for properly installed path, not including versioning.

Returns:
Unsigned char string pointing to system dir (eg /usr/share/blender/).

Implements GHOST_SystemPaths.

Definition at line 63 of file GHOST_SystemPathsX11.cpp.

References static_path.

const GHOST_TUns8 * GHOST_SystemPathsX11::getUserDir ( ) const [virtual]

Determine the base dir in which user configuration is stored, not including versioning. If needed, it will create the base directory.

Returns:
Unsigned char string pointing to user dir (eg ~/.blender/).

Implements GHOST_SystemPaths.

Definition at line 69 of file GHOST_SystemPathsX11.cpp.

References NULL.


The documentation for this class was generated from the following files: