#include <wg_resource_handle.h>
Inheritance diagram for wGui::CResourceHandle:
Definition at line 45 of file wg_resource_handle.h.
wGui::CResourceHandle::CResourceHandle | ( | TResourceId | resId | ) |
CResourceHandles must be instantiated with a valid resource ID
resId | The ID of the resource which the handle will represent |
Definition at line 39 of file wg_resource_handle.cpp.
References wGui::AUTO_CREATE_RESOURCE_ID, and m_ResourceId.
wGui::CResourceHandle::CResourceHandle | ( | const CResourceHandle & | resHandle | ) |
A copying constructor
resHandle | An existing resource handle that will be cloned |
Definition at line 59 of file wg_resource_handle.cpp.
References m_ResourceId.
TResourceId wGui::CResourceHandle::GetResourceId | ( | void | ) | [inline] |
Gets the resource ID of the handle
Definition at line 61 of file wg_resource_handle.h.
References m_ResourceId.
unsigned int wGui::CResourceHandle::GetRefCount | ( | void | ) | [inline] |
Gets the handle's internal reference count
Definition at line 65 of file wg_resource_handle.h.
References m_ResourceId.
Referenced by wGui::CBitmapResourceHandle::~CBitmapResourceHandle(), wGui::CCursorResourceHandle::~CCursorResourceHandle(), ~CResourceHandle(), and wGui::CStringResourceHandle::~CStringResourceHandle().