libacfutils
A general purpose library of utility functions designed to make it easier to develop addons for the X-Plane flight simulator.
|
#include <acfutils/types.h>
Go to the source code of this file.
Functions | |
bool_t | lacf_open_URL (const char *url) |
The purpose of this module is to aggregate integration with 3rd party apps of the host OS.
Definition in file apps.h.
bool_t lacf_open_URL | ( | const char * | url | ) |
Given a URL, attempts to open it in the host operating system's preferred web browser.
url | A URL that can be passed on to a web browser. |
B_TRUE
if launching the browser succeeded, B_FALSE
otherwise. This always succeeds on Windows. On macOS and Linux, this depends on the return value of the shell command (open
on macOS and xdg-open
on Linux).