summaryrefslogtreecommitdiffstats
path: root/mmc_updater/src/StandardDirs.h
blob: 18526173130e1f856659efd175a90bb1af384d46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#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
};