Sha256: a804c1cac6687ce5bca28808a061e62d97da07819ee4fbc6dc32d17d97a39350

Contents?: true

Size: 1.12 KB

Versions: 125

Compression:

Stored size: 1.12 KB

Contents

//! \file Directories.hpp
//! Access to a small set of system paths.

#ifndef GOSU_DIRECTORIES_HPP
#define GOSU_DIRECTORIES_HPP

#include <string>

namespace Gosu
{
    //! Prefix for a program's own resources.
    //! On Windows, the executable's containing directory.
    //! On OS X, the application's Resources subdirectory.
    //! On Linux, the current directory.
    std::wstring resourcePrefix();
    
    //! Prefix for resources of a group of programs.
    //! On Windows, the executable's containing directory.
    //! On OS X, the application's containing subdirectory.
    //! On Linux, the current directory.
    std::wstring sharedResourcePrefix();
    
    //! Prefix for user settings.
    //! On Windows, the same as %APPDATA%.
    //! On OS X, the user's Library/Preferences folder.
    //! On Linux, the home directory plus a trailing dot for hidden files.
    std::wstring userSettingsPrefix();
    
    //! Prefix for user documents, e.g. save games.
    //! On Windows, the My Documents folder.
    //! On OS X, the user's Documents folder.
    //! On Linux, the home directory.
    std::wstring userDocsPrefix();
}

#endif

Version data entries

125 entries across 125 versions & 1 rubygems

Version Path
gosu-0.8.1-x86-mingw32 Gosu/Directories.hpp
gosu-0.8.1 Gosu/Directories.hpp
gosu-0.8.0 Gosu/Directories.hpp
gosu-0.8.0-x86-mingw32 Gosu/Directories.hpp
gosu-0.8.0.pre7 Gosu/Directories.hpp
gosu-0.8.0.pre7-x86-mingw32 Gosu/Directories.hpp
gosu-0.8.0.pre6 Gosu/Directories.hpp
gosu-0.8.0.pre5 Gosu/Directories.hpp
gosu-0.8.0.pre4 Gosu/Directories.hpp
gosu-0.8.0.pre3 Gosu/Directories.hpp
gosu-0.8.0.pre2 Gosu/Directories.hpp
gosu-0.8.0.pre1 Gosu/Directories.hpp
gosu-0.7.50-x86-mingw32 Gosu/Directories.hpp
gosu-0.7.50 Gosu/Directories.hpp
gosu-0.7.49-x86-mingw32 Gosu/Directories.hpp
gosu-0.7.49 Gosu/Directories.hpp
gosu-0.7.48-x86-mingw32 Gosu/Directories.hpp
gosu-0.7.48 Gosu/Directories.hpp
gosu-0.7.47.1-x86-mingw32 Gosu/Directories.hpp
gosu-0.7.47.1 Gosu/Directories.hpp