📄 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 + -