|
Blender
V2.59
|
#include <GHOST_SystemPathsCocoa.h>

Public Member Functions | |
| GHOST_SystemPathsCocoa () | |
| ~GHOST_SystemPathsCocoa () | |
| virtual const GHOST_TUns8 * | getSystemDir () const |
| virtual const GHOST_TUns8 * | getUserDir () const |
| virtual const GHOST_TUns8 * | getBinaryDir () const |
| void | addToSystemRecentFiles (const char *filename) const |
Definition at line 45 of file GHOST_SystemPathsCocoa.h.
| GHOST_SystemPathsCocoa::GHOST_SystemPathsCocoa | ( | ) |
Constructor.
***** 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.
| 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
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.
Implements GHOST_SystemPaths.
Definition at line 55 of file GHOST_SystemPathsCocoa.mm.
| 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.
Implements GHOST_SystemPaths.
Definition at line 77 of file GHOST_SystemPathsCocoa.mm.