20#ifndef FG_GUI_COCOA_HELPERS_H
21#define FG_GUI_COCOA_HELPERS_H
25#include <simgear/misc/sg_path.hxx>
bool cocoaIsRunningTranslocated()
helper to detect if we're running translocated or not.
void cocoaRegisterTerminateHandler()
AppKit shuts us down via exit(), the code in main to cleanup is not run in that scenario.
void transformToForegroundApp()
When we run non-bundled, we need to transform to a GUI (foreground) app osgViewer does this for us no...
SGPath platformDefaultDataPath()
Cocoa implementation so we can use NSURL.
void cocoaOpenUrl(const std::string &url)
open a URL using the system's web-browser