Pyrogenesis  trunk
Functions
osx_paths.h File Reference

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

This graph shows which files directly or indirectly include this file:

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.

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.
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.