Blender V5.0
GHOST_Path-api.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2010 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
8
9#pragma once
10
11#include <optional>
12#include <string>
13
14#include "GHOST_Types.h"
15
16GHOST_DECLARE_HANDLE(GHOST_SystemPathsHandle);
17
23
29
39extern const char *GHOST_getSystemDir(int version, const char *versionstr);
40
48extern const char *GHOST_getUserDir(int version, const char *versionstr);
49
54extern std::optional<std::string> GHOST_getUserSpecialDir(GHOST_TUserSpecialDirTypes type);
55
60extern const char *GHOST_getBinaryDir();
61
65extern void GHOST_addToSystemRecentFiles(const char *filepath);
std::optional< std::string > GHOST_getUserSpecialDir(GHOST_TUserSpecialDirTypes type)
void GHOST_addToSystemRecentFiles(const char *filepath)
const char * GHOST_getSystemDir(int version, const char *versionstr)
GHOST_TSuccess GHOST_DisposeSystemPaths()
GHOST_TSuccess GHOST_CreateSystemPaths()
const char * GHOST_getBinaryDir()
const char * GHOST_getUserDir(int version, const char *versionstr)
#define GHOST_DECLARE_HANDLE(name)
Definition GHOST_Types.h:31
GHOST_TSuccess
Definition GHOST_Types.h:57
GHOST_TUserSpecialDirTypes