18 #if defined(__APPLE__)
31 static std::string
getBundleName(
const std::string &bundlePath = std::string());
55 static std::string
getBundleId(
const std::string &bundlePath = std::string());
61 static std::string
getSupportAppWithName(
const std::string &appName,
const std::string &bundlePath = std::string());
64 static std::string
getSupportAppWithId(
const std::string &
id,
const std::string &bundlePath = std::string());
80 bool displaySoftwareUpdateDialog =
true);
static std::string getUmbrellaBundleDirectory()
Return absolute path to the umbrella bundle directory in which this bundle is embedded....
static std::string getBundleDirectory(const std::string &id=std::string())
Return absolute path to the bundle directory of bundle with the given id or the current application i...
static std::string getBundleName(const std::string &bundlePath=std::string())
Return name of the bundle (CFBundleName)
static std::string getBundleDirectoryPreferUmbrellaBundle()
Return absolute path to the umbrella bundle directory in which this bundle is embedded....
static std::string getBundlePrivateFrameworksDirectory(const std::string &bundlePath=std::string())
Return absolute path of the given bundle's resources directory (UTF8)
static std::string getBundleDirectoryOfSubDirectory(const std::string &path)
Return absolute path to the root bundle directory of the given subdirectory (UTF8)
static std::string getStringForInfoDictionaryKey(const std::string &key, const std::string &bundlePath=std::string())
Returns string value for the given key from the bundle's Info.plist file.
static std::string getBundleExecutable(const std::string &bundlePath=std::string())
Returns absolute path of the main executable of the given bundle (UTF8)
static std::string getSupportAppWithId(const std::string &id, const std::string &bundlePath=std::string())
Returns absolute path of support application (bundles only) by looking at specific bundle folders (UT...
static std::string getBundleId(const std::string &bundlePath=std::string())
Return bundle identifier of given bundle or empty string if none was found (UTF8)
static bool isApplicationBundle(const std::string &filePath)
Returns 'true' if given path points to an application bundle (UTF8)
static bool isSystemVersionSufficientForBundle(const std::string &minimumSystemVersionInfoDictKey="MLMinimumSystemVersion", bool displaySoftwareUpdateDialog=true)
Check operating system version and display software update dialog if update is possible (UTF8)
static std::string getSupportAppWithName(const std::string &appName, const std::string &bundlePath=std::string())
Returns absolute path of support application (bundled and unbundled) by looking at specific bundle fo...
static std::string getBundleSharedSupportDirectory(const std::string &bundlePath=std::string())
Return absolute path of the given bundle's shared support directory (UTF8)
static std::string getBundleResourcesDirectory(const std::string &bundlePath=std::string())
Return absolute path of the given bundle's resources directory (UTF8)
#define OSXSUPPORT_PUBLIC_API
Symbol visibility macros.