Blender V5.0
GHOST_SystemPathsWin32.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2001-2002 NaN Holding BV. All rights reserved.
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
8
9#pragma once
10
11#include <optional>
12#include <string>
13
14#ifndef WIN32
15# error WIN32 only!
16#endif // WIN32
17
18#define WIN32_LEAN_AND_MEAN
19#include <windows.h>
20
21#include "GHOST_SystemPaths.hh"
22
28 public:
33
37 ~GHOST_SystemPathsWin32() override;
38
44 const char *getSystemDir(int version, const char *versionstr) const override;
45
51 const char *getUserDir(int version, const char *versionstr) const override;
52
57 std::optional<std::string> getUserSpecialDir(GHOST_TUserSpecialDirTypes type) const override;
58
63 const char *getBinaryDir() const override;
64
68 void addToSystemRecentFiles(const char *filepath) const override;
69};
GHOST_TUserSpecialDirTypes
const char * getBinaryDir() const override
const char * getSystemDir(int version, const char *versionstr) const override
std::optional< std::string > getUserSpecialDir(GHOST_TUserSpecialDirTypes type) const override
void addToSystemRecentFiles(const char *filepath) const override
const char * getUserDir(int version, const char *versionstr) const override