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

#include <win-objects.h>

Public Member Functions

 SelectObjectScope (HDC p_dc, HGDIOBJ p_obj) throw ()
 
 ~SelectObjectScope () throw ()
 

Private Member Functions

 PFC_CLASS_NOT_COPYABLE_EX (SelectObjectScope) HDC m_dc
 

Private Attributes

HGDIOBJ m_obj
 

Detailed Description

Definition at line 196 of file win-objects.h.

Constructor & Destructor Documentation

SelectObjectScope::SelectObjectScope ( HDC  p_dc,
HGDIOBJ  p_obj 
)
throw (
)
inline

Definition at line 198 of file win-objects.h.

198 : m_dc(p_dc), m_obj(SelectObject(p_dc,p_obj)) {}
SelectObjectScope::~SelectObjectScope ( )
throw (
)
inline

Definition at line 199 of file win-objects.h.

199 {SelectObject(m_dc,m_obj);}

Member Function Documentation

SelectObjectScope::PFC_CLASS_NOT_COPYABLE_EX ( SelectObjectScope  )
private

Field Documentation

HGDIOBJ SelectObjectScope::m_obj
private

Definition at line 203 of file win-objects.h.


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