foobar2000 SDK  2015-08-03
Public Member Functions | Static Public Member Functions | Private Member Functions
modeless_dialog_managerabstract

#include <modeless_dialog.h>

+ Inheritance diagram for modeless_dialog_manager:

Public Member Functions

virtual void add (HWND p_wnd)=0
 
virtual void remove (HWND p_wnd)=0
 
- Public Member Functions inherited from service_base
template<typename outPtr_t >
bool cast (outPtr_t &outPtr)
 
virtual int service_add_ref ()=0 throw ()
 
virtual bool service_query (service_ptr_t< service_base > &p_out, const GUID &p_guid)
 
template<class T >
bool service_query_t (service_ptr_t< T > &p_out)
 
virtual int service_release ()=0 throw ()
 

Static Public Member Functions

static void g_add (HWND p_wnd)
 
static void g_remove (HWND p_wnd)
 

Private Member Functions

 FB2K_MAKE_SERVICE_INTERFACE_ENTRYPOINT (modeless_dialog_manager)
 

Additional Inherited Members

- Public Types inherited from service_base
typedef service_base t_interface
 
- Protected Member Functions inherited from service_base
 service_base ()
 
 ~service_base ()
 

Detailed Description

Service for plugging your nonmodal dialog windows into main app loop to receive IsDialogMessage()-translated messages.
Note that all methods are valid from main app thread only.
Usage: static_api_ptr_t<modeless_dialog_manager> or modeless_dialog_manager::g_add / modeless_dialog_manager::g_remove.

Definition at line 4 of file modeless_dialog.h.

Member Function Documentation

virtual void modeless_dialog_manager::add ( HWND  p_wnd)
pure virtual

Adds specified window to global list of windows to receive IsDialogMessage().

modeless_dialog_manager::FB2K_MAKE_SERVICE_INTERFACE_ENTRYPOINT ( modeless_dialog_manager  )
private
static void modeless_dialog_manager::g_add ( HWND  p_wnd)
inlinestatic

Static helper; see add().

Definition at line 13 of file modeless_dialog.h.

virtual void add(HWND p_wnd)=0
Adds specified window to global list of windows to receive IsDialogMessage().
Helper template used to easily access core services. Usage: static_api_ptr_t<myclass> api; api->doso...
Definition: service.h:533
static void modeless_dialog_manager::g_remove ( HWND  p_wnd)
inlinestatic

Static helper; see remove().

Definition at line 15 of file modeless_dialog.h.

Helper template used to easily access core services. Usage: static_api_ptr_t<myclass> api; api->doso...
Definition: service.h:533
virtual void modeless_dialog_manager::remove ( HWND  p_wnd)
pure virtual

Removes specified window from global list of windows to receive IsDialogMessage().


The documentation for this class was generated from the following file: