foobar2000 SDK  2015-08-03
Public Member Functions | Private Member Functions | Private Attributes
CModelessDialogEntry

#include <win32_misc.h>

Public Member Functions

 CModelessDialogEntry ()
 
 CModelessDialogEntry (HWND p_wnd)
 
 ~CModelessDialogEntry ()
 
void Set (HWND p_new)
 

Private Member Functions

 PFC_CLASS_NOT_COPYABLE_EX (CModelessDialogEntry)
 

Private Attributes

HWND m_wnd
 

Detailed Description

Definition at line 185 of file win32_misc.h.

Constructor & Destructor Documentation

CModelessDialogEntry::CModelessDialogEntry ( )
inline

Definition at line 187 of file win32_misc.h.

187 : m_wnd() {}
CModelessDialogEntry::CModelessDialogEntry ( HWND  p_wnd)
inline

Definition at line 188 of file win32_misc.h.

188 : m_wnd() {Set(p_wnd);}
void Set(HWND p_new)
Definition: win32_misc.h:191
CModelessDialogEntry::~CModelessDialogEntry ( )
inline

Definition at line 189 of file win32_misc.h.

189 {Set(NULL);}
void Set(HWND p_new)
Definition: win32_misc.h:191

Member Function Documentation

CModelessDialogEntry::PFC_CLASS_NOT_COPYABLE_EX ( CModelessDialogEntry  )
private
void CModelessDialogEntry::Set ( HWND  p_new)
inline

Definition at line 191 of file win32_misc.h.

191  {
193  if (m_wnd) api->remove(m_wnd);
194  m_wnd = p_new;
195  if (m_wnd) api->add(m_wnd);
196  }
Helper template used to easily access core services. Usage: static_api_ptr_t<myclass> api; api->doso...
Definition: service.h:533

Field Documentation

HWND CModelessDialogEntry::m_wnd
private

Definition at line 199 of file win32_misc.h.


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