Blender V2.61 - r43446
Public Member Functions | Protected Member Functions

GHOST_SystemPaths Class Reference

#include <GHOST_SystemPaths.h>

Inheritance diagram for GHOST_SystemPaths:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual const GHOST_TUns8getSystemDir () const =0
virtual const GHOST_TUns8getUserDir () const =0
virtual const GHOST_TUns8getBinaryDir () const =0
virtual void addToSystemRecentFiles (const char *filename) const =0

Protected Member Functions

 GHOST_SystemPaths ()
virtual ~GHOST_SystemPaths ()

Detailed Description

Definition at line 36 of file GHOST_SystemPaths.h.


Constructor & Destructor Documentation

GHOST_SystemPaths::GHOST_SystemPaths ( ) [inline, protected]

Constructor. Protected default constructor to force use of static createSystem member.

Definition at line 43 of file GHOST_SystemPaths.h.

virtual GHOST_SystemPaths::~GHOST_SystemPaths ( ) [inline, protected, virtual]

Destructor. Protected default constructor to force use of static dispose member.

Definition at line 49 of file GHOST_SystemPaths.h.


Member Function Documentation

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

Add the file to the operating system most recently used files

Implements GHOST_ISystemPaths.

Implemented in GHOST_SystemPathsCarbon, GHOST_SystemPathsCocoa, GHOST_SystemPathsWin32, and GHOST_SystemPathsX11.

virtual const GHOST_TUns8* GHOST_SystemPaths::getBinaryDir ( ) const [pure virtual]

Determine the directory of the current binary

Returns:
Unsigned char string pointing to the binary dir

Implements GHOST_ISystemPaths.

Implemented in GHOST_SystemPathsCarbon, GHOST_SystemPathsCocoa, GHOST_SystemPathsWin32, and GHOST_SystemPathsX11.

virtual const GHOST_TUns8* GHOST_SystemPaths::getSystemDir ( ) const [pure 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_ISystemPaths.

Implemented in GHOST_SystemPathsCarbon, GHOST_SystemPathsCocoa, GHOST_SystemPathsWin32, and GHOST_SystemPathsX11.

virtual const GHOST_TUns8* GHOST_SystemPaths::getUserDir ( ) const [pure 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_ISystemPaths.

Implemented in GHOST_SystemPathsCarbon, GHOST_SystemPathsCocoa, GHOST_SystemPathsWin32, and GHOST_SystemPathsX11.


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