#include <string>
#include <vector>
Go to the source code of this file.
Classes | |
class | yaze::util::FileDialogWrapper |
Namespaces | |
namespace | yaze |
Main namespace for the application. | |
namespace | yaze::util |
Enumerations | |
enum class | yaze::util::Platform { yaze::util::kUnknown , yaze::util::kMacOS , yaze::util::kiOS , yaze::util::kWindows , yaze::util::kLinux } |
Functions | |
std::string | yaze::util::GetBundleResourcePath () |
GetBundleResourcePath returns the path to the bundle resource directory. Specific to MacOS. | |
std::string | yaze::util::GetFileExtension (const std::string &filename) |
Gets the file extension from a filename. | |
std::string | yaze::util::GetFileName (const std::string &filename) |
Gets the filename from a full path. | |
std::string | yaze::util::GetResourcePath (const std::string &resource_path) |
void | yaze::util::SaveFile (const std::string &filename, const std::string &contents) |
std::string | yaze::util::LoadFile (const std::string &filename) |
Loads the entire contents of a file into a string. | |
std::string | yaze::util::LoadFileFromConfigDir (const std::string &filename) |
Loads a file from the user's config directory. | |