foobar2000 SDK
2015-08-03
|
#include <shared.h>
Public Member Functions | |
modal_dialog_scope (HWND p_wnd) throw () | |
modal_dialog_scope () throw () | |
~modal_dialog_scope () throw () | |
void | deinitialize () throw () |
void | initialize (HWND p_wnd) throw () |
Static Public Member Functions | |
static bool | can_create () throw () |
static void | poke_existing () throw () |
Private Member Functions | |
modal_dialog_scope (const modal_dialog_scope &p_scope) | |
const modal_dialog_scope & | operator= (const modal_dialog_scope &) |
Private Attributes | |
t_modal_dialog_entry | m_entry |
bool | m_initialized |
The purpose of modal_dialog_scope is to help to avoid the modal dialog recursion problem. Current toplevel modal dialog handle is stored globally, so when creation of a new modal dialog is blocked, it can be activated to indicate the reason for the task being blocked.
|
inline |
This constructor initializes the modal dialog scope with specified dialog handle.
Definition at line 507 of file shared.h.
|
inline |
This constructor leaves the scope uninitialized (you can call initialize() later with your window handle).
Definition at line 509 of file shared.h.
|
inline |
|
inlineprivate |
|
inlinestatic |
|
inline |
|
inlineprivate |
|
inlinestatic |
|
private |