foobar2000 SDK  2015-01-14
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 193 of file win-objects.h.

Constructor & Destructor Documentation

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

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

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

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

196 {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 200 of file win-objects.h.


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