crandomdatapage.h
来自「PGP8.0源码 请认真阅读您的文件包然后写出其具体功能」· C头文件 代码 · 共 76 行
H
76 行
/*____________________________________________________________________________
Copyright (C) 2002 PGP Corporation
All rights reserved.
$Id: CRandomDataPage.h,v 1.5 2002/08/06 20:09:24 dallen Exp $
____________________________________________________________________________*/
#ifndef Included_CRandomDataPage_h // [
#define Included_CRandomDataPage_h
#include "CProgressBar.h"
#include "pgpDiskPubTypes.h"
#include "CPercentDone.h"
#include "CPGPdiskPage.h"
_PGP_BEGIN
// Types
class CPGPGlobalRandomPool;
// Class CRandomDataPage
class CRandomDataPage : public CPGPdiskPage
{
public:
CRandomDataPage::CRandomDataPage(
const PGPdiskEncryptionAlgorithm *pAlgorithm,
CPGPGlobalRandomPool *pRandomPool) :
mPAlgorithm(pAlgorithm), mPRandomPool(pRandomPool)
{
pgpAssertAddrValid(pAlgorithm, PGPdiskEncryptionAlgorithm);
pgpAssertAddrValid(pRandomPool, CPGPGlobalRandomPool);
}
CRandomDataPage::~CRandomDataPage()
{
}
PGPUInt16 GetDialogId() const;
private:
const PGPdiskEncryptionAlgorithm *mPAlgorithm;
CPGPGlobalRandomPool *mPRandomPool;
CPercentDone mRandomPercent;
CProgressBar mRandomBar;
PGPUInt32 mEntropyNeeded;
PGPBoolean mBegunGathering;
PGPBoolean mCheated;
static LRESULT CALLBACK KeyboardHook(INT iCode, WPARAM wParam,
LPARAM lParam);
DWORD GetPageHelpId() const;
PVOID GetPageHelpIds() const;
void ProcessChar(unsigned char Char);
void SetDoneCollecting();
void UpdateBar();
BOOL OnInitDialog(HWND focusCtrl);
void OnLButtonDown(PGPUInt32 keyFlags, CPoint coords);
void OnMouseMove(PGPUInt32 keyFlags, CPoint coords);
PGPBoolean OnPsnKillActive();
PGPInt32 OnPsnSetActive();
};
_PGP_END
#endif // ] Included_CRandomDataPage_h
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?