MIMEContentAgent.cpp
上传用户:weimei12
上传日期:2022-08-11
资源大小:185k
文件大小:1k
- // MIMEContentAgent.cpp: implementation of the CMIMEContentAgent class.
- // Author: Wes Clyburn (clyburnw@enmu.edu)
- //////////////////////////////////////////////////////////////////////
- #include "stdafx.h"
- #include "MIMEContentAgent.h"
- #ifdef _DEBUG
- #undef THIS_FILE
- static char THIS_FILE[]=__FILE__;
- #define new DEBUG_NEW
- #endif
- //////////////////////////////////////////////////////////////////////
- // Construction/Destruction
- //////////////////////////////////////////////////////////////////////
- CMIMEContentAgent::CMIMEContentAgent(int nMIMEType)
- {
- m_nMIMEType = nMIMEType;
- }
- CMIMEContentAgent::~CMIMEContentAgent()
- {
- }
- ///<summary>
- /// Query the type of the object
- ///</summary>
- BOOL CMIMEContentAgent::QueryType(int nContentType)
- {
- return nContentType == m_nMIMEType ? TRUE : FALSE;
- }