foobar2000 SDK
2015-08-03
|
#include <app_close_blocker.h>
Public Member Functions | |
virtual void | query_task_name (pfc::string_base &out)=0 |
Protected Member Functions | |
app_close_blocking_task () | |
~app_close_blocking_task () | |
PFC_CLASS_NOT_COPYABLE_EX (app_close_blocking_task) | |
An interface encapsulating a task preventing the foobar2000 application from being closed. Instances of this class need to be registered using app_close_blocking_task_manager methods.
Implementation: it's recommended that you derive from app_close_blocking_task_impl class instead of deriving from app_close_blocking_task directly, it manages registration/unregistration behind-the-scenes.
Definition at line 16 of file app_close_blocker.h.
|
inlineprotected |
Definition at line 21 of file app_close_blocker.h.
|
inlineprotected |
Definition at line 22 of file app_close_blocker.h.
|
protected |
|
pure virtual |
Implemented in app_close_blocking_task_impl_dynamic, and app_close_blocking_task_impl.