⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 getanddelete.h

📁 自己写的一个删除文件的源代码
💻 H
字号:
/*
============================================================================
 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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -