Gosu
Directories.hpp
Go to the documentation of this file.
1 
4 #pragma once
5 
6 #include <string>
7 
8 namespace Gosu
9 {
12 
17  std::string resource_prefix();
18 
23  std::string shared_resource_prefix();
24 
29  std::string user_settings_prefix();
30 
35  std::string user_documents_prefix();
36 }
Definition: Audio.hpp:12
std::string resource_prefix()
Prefix for a program&#39;s own resources.
std::string user_documents_prefix()
Prefix for user documents, e.g.
std::string shared_resource_prefix()
Prefix for shared resources of a group of programs.
std::string user_settings_prefix()
Prefix for user settings.
void use_resource_directory()
Changes the current directory to the result of resource_prefix().