?? fileencryption.h
字號:
/* Copyright (c) 2003, Nokia Mobile Phones. All rights reserved */
#ifndef __FILEENCRYPTION_H__
#define __FILEENCRYPTION_H__
#include <e32base.h>
class CFileEncryption : public CBase
{
public:
/*!
@function NewL
@discussion Create a CFileEncryption object
@result a pointer to the created instance of CFileEncryption
*/
static CFileEncryption* NewL();
/*!
@function NewLC
@discussion Create a CFileEncryption object
@result a pointer to the created instance of CFileEncryption
*/
static CFileEncryption* NewLC();
/*!
@function ~CFileEncryption
@discussion Destroy the object and release all memory objects
*/
~CFileEncryption();
void CreateFileL(const TDesC& aFileName, const TDesC& aFileData, const TDesC& aKey);
HBufC* ReadFileL(const TDesC& aFileName, const TDesC& aKey);
private:
/*!
@function CFileEncryption
@discussion Constructs this object
*/
CFileEncryption();
/*!
@function ConstructL
@discussion Performs second phase construction of this object
*/
void ConstructL();
HBufC* GarbleKeyLC(const TDesC& aKey);
private:
// Member variables
RFs iFileSession;
};
#endif // __FILEENCRYPTION_H__
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -