cdiskinactivityimp.h

来自「PGP8.0源码 请认真阅读您的文件包然后写出其具体功能」· C头文件 代码 · 共 44 行

H
44
字号
/*____________________________________________________________________________
		Copyright (C) 2002 PGP Corporation
        All rights reserved.

        $Id: CDiskInactivityImp.h,v 1.3 2002/08/06 20:09:34 dallen Exp $
____________________________________________________________________________*/

#ifndef Included_CDiskInactivityImp_h	// [
#define Included_CDiskInactivityImp_h

#include "PGPsdkDriver.h"

#include "CDiskInactivity.h"
#include "CImp.h"

_PGP_BEGIN

// Class CDiskInactivityImp

class CDiskInactivityImp : public CImp
{
	friend class CDiskInactivity;

protected:
	CComboError	CreateInactivityTimer(PGPUInt32 seconds, 
		PGPBoolean repeating, 
		CDiskInactivity::InactivityCallbackFunc pfnCallback, ULONG userVal, 
		PGPUInt32& timerID);
	CComboError	DestroyInactivityTimer(PGPUInt32 timerID);

	virtual CComboError	AttachToDriver() = 0;

protected:
	virtual CComboError	Startup() {return CComboError();}
	virtual void		Shutdown() { }

	virtual CComboError	SendInactivityCommand(
		PGPINACTIVITYSTRUCT& pgpIS) const = 0;
};

_PGP_END

#endif	// Included_CDiskInactivityImp_h

⌨️ 快捷键说明

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