|
Blender
V2.59
|
00001 /* 00002 * $Id: GHOST_Path-api.h 35152 2011-02-25 11:28:33Z jesterking $ 00003 * 00004 * ***** BEGIN GPL LICENSE BLOCK ***** 00005 * 00006 * This program is free software; you can redistribute it and/or 00007 * modify it under the terms of the GNU General Public License 00008 * as published by the Free Software Foundation; either version 2 00009 * of the License, or (at your option) any later version. 00010 * 00011 * This program is distributed in the hope that it will be useful, 00012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00014 * GNU General Public License for more details. 00015 * 00016 * You should have received a copy of the GNU General Public License 00017 * along with this program; if not, write to the Free Software Foundation, 00018 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 00019 * 00020 * The Original Code is Copyright (C) 2010 by Blender Foundation. 00021 * All rights reserved. 00022 * 00023 * The Original Code is: all of this file. 00024 * 00025 * Contributor(s): none yet. 00026 * 00027 * ***** END GPL LICENSE BLOCK ***** 00028 */ 00029 00035 #ifndef GHOST_PATH_API_H 00036 #define GHOST_PATH_API_H 00037 00038 #include "GHOST_Types.h" 00039 00040 #ifdef __cplusplus 00041 extern "C" { 00042 #endif 00043 00044 GHOST_DECLARE_HANDLE(GHOST_SystemPathsHandle); 00045 00050 extern GHOST_TSuccess GHOST_CreateSystemPaths(void); 00051 00056 extern GHOST_TSuccess GHOST_DisposeSystemPaths(void); 00057 00063 extern const GHOST_TUns8* GHOST_getSystemDir(void); 00064 00069 extern const GHOST_TUns8* GHOST_getUserDir(void); 00070 00071 00076 extern const GHOST_TUns8* GHOST_getBinaryDir(void); 00077 00081 extern void GHOST_addToSystemRecentFiles(const char* filename); 00082 00083 #ifdef __cplusplus 00084 } 00085 #endif 00086 00087 #endif