6 virtual bool query() = 0;
56 if (state != m_taskActive) {
58 if (state) api->register_task(
this);
59 else api->unregister_task(
this);
app_close_blocking_task_impl_dynamic()
void query_task_name(pfc::string_base &out)
~app_close_blocking_task()
Helper; implements standard functionality required by app_close_blocking_task implementations - regis...
Entrypoint class for registering app_close_blocking_task instances. Introduced in 0...
~app_close_blocking_task_impl_dynamic()
app_close_blocking_task()
Base class for all service classes. Provides interfaces for reference counter and querying for differ...
~app_close_blocking_task_impl()
void toggle_blocking(bool state)
app_close_blocking_task_impl()
Helper template used to easily access core services. Usage: static_api_ptr_t<myclass> api; api->doso...
An interface encapsulating a task preventing the foobar2000 application from being closed...
(DEPRECATED) This service is used to signal whether something is currently preventing main window fro...
void query_task_name(pfc::string_base &out)