Skip to content
Repos

DevPlaceApp

C++ 322 B13 lines Opens in site

Directory Raw Download

#pragma once
// Spec: shell.md section 5 (UserDefaults/Keychain become files in the SDL pref path).
#include <string>

namespace dp {

class AppPaths {
 public:
  // SDL_GetPrefPath("devplace","DevPlaceApp"), always ends with a separator; empty when SDL fails.
  static std::string prefDirectory();
};

}  // namespace dp
22.5ms