Blender  V2.59
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 45 of file GHOST_SystemPathsCocoa.h.


Constructor & Destructor Documentation

GHOST_SystemPathsCocoa::GHOST_SystemPathsCocoa ( )

Constructor.

Id:
GHOST_SystemPathsCocoa.mm 34106 2011-01-05 19:19:49Z gsrb3d

***** BEGIN GPL LICENSE BLOCK *****

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

The Original Code is Copyright (C) 2010 Blender Foundation. All rights reserved.

Contributor(s): Damien Plisson 2010

***** END GPL LICENSE BLOCK *****

Definition at line 44 of file GHOST_SystemPathsCocoa.mm.

GHOST_SystemPathsCocoa::~GHOST_SystemPathsCocoa ( )

Destructor.

Definition at line 48 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 118 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 99 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 55 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 77 of file GHOST_SystemPathsCocoa.mm.

References NULL, and YES.


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