Blender V2.61 - r43446
Public Member Functions

GHOST_SystemPathsCocoa Class Reference

#include <GHOST_SystemPathsCocoa.h>

Inheritance diagram for GHOST_SystemPathsCocoa:
Inheritance graph
[legend]

List of all members.

Public Member Functions

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

Detailed Description

Definition at line 43 of file GHOST_SystemPathsCocoa.h.


Constructor & Destructor Documentation

GHOST_SystemPathsCocoa::GHOST_SystemPathsCocoa ( )

Constructor.

Definition at line 42 of file GHOST_SystemPathsCocoa.mm.

GHOST_SystemPathsCocoa::~GHOST_SystemPathsCocoa ( )

Destructor.

Definition at line 46 of file GHOST_SystemPathsCocoa.mm.


Member Function Documentation

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

Add the file to the operating system most recently used files

Implements GHOST_SystemPaths.

Definition at line 116 of file GHOST_SystemPathsCocoa.mm.

const GHOST_TUns8 * GHOST_SystemPathsCocoa::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 97 of file GHOST_SystemPathsCocoa.mm.

References NULL.

const GHOST_TUns8 * GHOST_SystemPathsCocoa::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 53 of file GHOST_SystemPathsCocoa.mm.

References NULL, and YES.

const GHOST_TUns8 * GHOST_SystemPathsCocoa::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 75 of file GHOST_SystemPathsCocoa.mm.

References NULL, and YES.


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