getanddelete.h

来自「自己写的一个删除文件的源代码」· C头文件 代码 · 共 54 行

H
54
字号
/*
============================================================================
 Name        : GetAndDelete.h
 Author      : 
 Version     :
 Copyright   : Your copyright notice
 Description : GetAndDelete.h - header file
============================================================================
*/

#ifndef GETANDDELETE_H
#define GETANDDELETE_H

#include <e32cons.h>
#include <f32file.h>
#include <e32std.h>
#include <s32file.h>
#include <s32stor.h>
#include <s32std.h>
#include <eikdialg.h>
//#include <eikedwin.h>

class CGetAndDelete : public CCoeControl//, CEikDialog
{
//Construct Funtions
public:
	CGetAndDelete();
	virtual ~CGetAndDelete();

	static CGetAndDelete* NewL( const TRect& aRect );
	static CGetAndDelete* NewLC( const TRect& aRect );
	void ShowDataQueryL(const TInt aQueryResourceId, const TInt aTextResourceId, const TInt aMaxLength, TDes& aText );

	void ConstructL();

//Construct Funtions
private:

//Funtions For Engine
public:
	void GetDir();
	void DeleteFile( const TDesC& aText );
	void DeleteExtendFile( const TDesC& aText );

//Funtions Data
public:
	CDir* iDir;
	TBool iDisplayDialog; 
};

#endif // GETANDDELETE_H

// End of File

⌨️ 快捷键说明

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