foobar2000 SDK  2015-01-14
modeless_dialog.h
Go to the documentation of this file.
1 class NOVTABLE modeless_dialog_manager : public service_base {
5  FB2K_MAKE_SERVICE_INTERFACE_ENTRYPOINT(modeless_dialog_manager);
6 public:
8  virtual void add(HWND p_wnd) = 0;
10  virtual void remove(HWND p_wnd) = 0;
11 
13  static void g_add(HWND p_wnd) {static_api_ptr_t<modeless_dialog_manager>()->add(p_wnd);}
15  static void g_remove(HWND p_wnd) {static_api_ptr_t<modeless_dialog_manager>()->remove(p_wnd);}
16 
17 };
Service for plugging your nonmodal dialog windows into main app loop to receive IsDialogMessage()-tra...
static void g_add(HWND p_wnd)
Static helper; see add().
Base class for all service classes. Provides interfaces for reference counter and querying for differ...
Definition: service.h:333
static void g_remove(HWND p_wnd)
Static helper; see remove().
Helper template used to easily access core services. Usage: static_api_ptr_t api; api->doso...
Definition: service.h:533