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

📄 pgpgwserver.h

📁 PGP8.0源码 请认真阅读您的文件包然后写出其具体功能
💻 H
字号:
////////////////////////////////////////////////////////////////////////////////
//
//  File : pgpgwServer.h
//
//  Copyright (C) 2002 PGP Corporation
//
//  ABSTRACT
//		Header file
// 
//  Author: Satya S. Das
//
////////////////////////////////////////////////////////////////////////////////

#ifndef _PGPGWSERVER_H
#define _PGPGWSERVER_H

/** include files **/
#include "gwc3po.h"

/** local definitions **/
/* default settings */

/** external functions **/

/** external data **/

/** internal functions **/

/** public data **/

/** private data **/

/** public functions **/

/** private functions **/


class CCommandFactory;
class EventMonitor;

/***********************************************************
   Class Name:  CPgpGwC3PO sub classed from IC3POServer.

   Description:  Every C3PO must support this interface.  It is used to
                 initialize the C3PO.

************************************************************/
class CPgpGwC3PO : public IC3POServer  
{
public:
	// IUnknown methods
    STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID FAR* ppvObj);
    STDMETHOD_(ULONG, AddRef)(THIS);
    STDMETHOD_(ULONG, Release)(THIS);
	
    /* IC3POServer methods */
    STDMETHOD(get_CommandFactory)(THIS_ IDispatch * FAR* ppIDispCommandFactory);
    STDMETHOD(get_Description)(THIS_ BSTR FAR* pbstrDescription);
    STDMETHOD(get_EventMonitor)(THIS_ IDispatch * FAR* ppIDispEventMonitor);
    STDMETHOD(get_IconFactory)(THIS_ IDispatch * FAR* ppIDispIconFactory);
    STDMETHOD(CanShutdown)(THIS_ VARIANT_BOOL FAR* pbCanShutdown);
	STDMETHOD(DeInit)(THIS);
    STDMETHOD(Init)(THIS_ IDispatch * pIDispManager);

	// Constructor
	CPgpGwC3PO();

	// Destructor
	virtual ~CPgpGwC3PO();

	// Create Objects
	BOOL Create();

private:
	ULONG m_cRef;
	CCommandFactory 	*m_pICmdFact;
	EventMonitor		*m_pIEventMonitor;
	IconFactory			*m_pIIconFactory;
	IUnknown			*m_pIUnkDispServ;
};

#endif


⌨️ 快捷键说明

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