⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 exposedobject.cpp

📁 深入剖析Visual C++编程技术及应用实例
💻 CPP
字号:
// ExposedObject.cpp: implementation of the EEExposedObject class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "ExposedObject.h"

#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

ExposedObject::ExposedObject()
{
	m_pExposedObject = NULL;
	m_ObjectName     = "";
}

ExposedObject::~ExposedObject()
{

}

void ExposedObject::SetExposedObject(IUnknown *newExposedObject)
{
	ASSERT(newExposedObject);
	m_pExposedObject = newExposedObject;
}

IUnknown* ExposedObject::GetObjectInterface()
{
	return m_pExposedObject;
}

void ExposedObject::SetObjectName(CString newName)
{
	m_ObjectName = newName;
}

CString ExposedObject::GetObjectName()
{
	return m_ObjectName;
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -