standardpaths/standardpaths.hpp
Christopher Arndt 2980d68976 fix: remove superfluous void and outdated comment
Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
2023-07-14 08:06:50 +02:00

25 lines
450 B
C++

#pragma once
#ifdef _WIN32
#include <windows.h>
#include <knownfolders.h>
#include <shlobj.h>
#include "cutf.h"
#else
#include <unistd.h>
#include <sys/types.h>
#include <pwd.h>
#endif
#include <cstdlib>
#include <filesystem>
#ifdef _WIN32
std::filesystem::path getWindowsDirectory();
std::filesystem::path getWindowsKnownFolder(REFKNOWNFOLDERID folder_guid);
#endif
std::filesystem::path getHomeDir();
std::filesystem::path getUserConfigDir();