Pyrogenesis  13997
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions
osx_paths.h File Reference

C++ interface to Cocoa implementation for retrieving standard OS X paths. More...

Go to the source code of this file.

Functions

std::string osx_GetAppSupportPath ()
 Get the user's Application Support path (typically ~/Library/Application Support) More...
 
std::string osx_GetCachesPath ()
 Get the user's Caches path (typically ~/Library/Caches) More...
 

Detailed Description

C++ interface to Cocoa implementation for retrieving standard OS X paths.

Definition in file osx_paths.h.

Function Documentation

std::string osx_GetAppSupportPath ( )

Get the user's Application Support path (typically ~/Library/Application Support)

Returns
string containing POSIX-style path in UTF-8 encoding, else empty string if an error occurred.

Definition at line 59 of file osx_paths.mm.

std::string osx_GetCachesPath ( )

Get the user's Caches path (typically ~/Library/Caches)

Returns
string containing POSIX-style path in UTF-8 encoding, else empty string if an error occurred.

Definition at line 64 of file osx_paths.mm.