6aa9bd0f77
Now with some actual consensus on what the updater will do!
23 lines
380 B
C++
23 lines
380 B
C++
#pragma once
|
|
|
|
#include "Platform.h"
|
|
|
|
#include <string>
|
|
|
|
class StandardDirs
|
|
{
|
|
public:
|
|
static std::string appDataPath(const std::string& organizationName,
|
|
const std::string& appName);
|
|
|
|
private:
|
|
#ifdef PLATFORM_UNIX
|
|
static std::string homeDir();
|
|
#endif
|
|
|
|
#ifdef PLATFORM_MAC
|
|
static std::string applicationSupportFolderPath();
|
|
#endif
|
|
};
|
|
|