21 FOOBAR2000_CLIENT_VERSION_COMPATIBLE = 72,
22 FOOBAR2000_CLIENT_VERSION = FOOBAR2000_TARGET_VERSION,
25 virtual pservice_factory_base get_service_list() = 0;
29 virtual void set_library_path(
const char * path,
const char * name) = 0;
30 virtual void services_init(
bool val) = 0;
31 virtual bool is_debug() = 0;
bool is_shutting_down()
Returns whether the app is currently shutting down.
foobar2000_component_globals()
bool is_initializing()
Returns whether the app is currently initializing.
const void * service_class_ref
const char * get_profile_path()
Returns filesystem path to directory with user settings, e.g. file://c:.
service_factory_base * pservice_factory_base
bool is_quiet_mode_enabled()
Returns whether foobar2000 is currently running in quiet mode. Quiet mode bypasses all GUI features...
foobar2000_api * g_foobar2000_api
bool assert_main_thread()
Tests whether calling thread is main app thread, and shows diagnostic message in debugger output if i...
HWND get_main_window()
Retrieves main app window. WARNING: this is provided for parent of dialog windows and such only; usin...
bool is_portable_mode_enabled()
Returns whether foobar2000 has been installed in "portable" mode.
Autopointer class to be used with all services. Manages reference counter calls behind-the-scenes.
static void OverrideCrtAbort()
bool is_main_thread()
Returns true if calling thread is main app thread, false otherwise.