MyLog.h
上传用户:weisheen
上传日期:2022-07-09
资源大小:19390k
文件大小:1k
- // MyLog.h: interface for the MyLog class.
- //
- //////////////////////////////////////////////////////////////////////
- #if !defined(AFX_MYLOG_H__C8090839_F8F1_4C23_8DE6_4FF1FF273B43__INCLUDED_)
- #define AFX_MYLOG_H__C8090839_F8F1_4C23_8DE6_4FF1FF273B43__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- #include "../DemoIUnknown.h"
- class MyLog : public ILog
- {
- public:
- MyLog();
- virtual ~MyLog();
- STDMETHOD(writeLog)( BSTR message);
- STDMETHOD(QueryInterface)(REFIID riid, void __RPC_FAR *__RPC_FAR *ppvObject);
- STDMETHOD_(ULONG,AddRef)(void);
- STDMETHOD_(ULONG,Release)(void);
- private:
- ULONG ilisongtao;
- };
- #endif // !defined(AFX_MYLOG_H__C8090839_F8F1_4C23_8DE6_4FF1FF273B43__INCLUDED_)