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

📄 fileman.h

📁 手机文件浏览器 Here are the sources to SMan v1.2c 1.2 is a major jump from v1.1. You will see this from the
💻 H
字号:
#include <eikfutil.h>		// EikFileUtils
#include <f32file.h>
#include <eikgted.h>
#include "dialogs.h"

#if !defined(__FILEMAN_H__)
#define __FILEMAN_H__

/*************************************************************
*
* Our actual file manager
*
**************************************************************/
class CSManFileMan : public CBase, public MFileManObserver
{
public:
	enum
	{
		operationCopy,
		operationCut,
		isPaste,
		isDelete,
		isRename
	};

	CSManFileMan(CConfig *cData);
	~CSManFileMan();
	
	CArrayFixSeg<TFileName> *fileList;
	TInt fileManOperation;
	//CArrayFixSeg<TInt> *operationList;
	TPath targetPath;
	TUint currentOperation;
	void doWork();
	void updateText(CEikGlobalTextEditor *textEdit);
	void updateErrorMsg(CEikGlobalTextEditor *textEdit);
	CFileManLogDialog *progressDialog;
	CFileMan *fileMan;
		
private:
	TInt prevOverwriteStatus;
	void setupDialog();
	TInt currentFile;
	TUint opSwitch;
	TInt userRet;
	CLogger *logObj;
	CEikGlobalTextEditor *progressText;
	CEikProgressInfo *progressBar;
	TInt totalBytes, currentBytes;
	void displayPromptDialog(TBool showOverwrite);

	TControl NotifyFileManStarted();
	TControl NotifyFileManOperation();
	TControl NotifyFileManEnded();
		
	RFs fileServer;
};

#endif

⌨️ 快捷键说明

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