Linux did not see AppDataLocation as the binary directory, but as an arbitrary dir in the home folder.
16 lines
269 B
C++
16 lines
269 B
C++
#pragma once
|
|
#include <string>
|
|
#include <optional>
|
|
|
|
namespace paths
|
|
{
|
|
using std::optional;
|
|
using std::string;
|
|
|
|
optional<string> binaryDirectory();
|
|
optional<string> binaryDirectoryFindFile( string fileName );
|
|
|
|
optional<string> settingsDirectory();
|
|
|
|
} // namespace paths
|