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

📄 tempview.h

📁 symbian有关文件操作的一个很好的例子
💻 H
字号:
/* Copyright (c) 2007, Nokia. All rights reserved */

#ifndef __TempVIEW_H__
#define __TempVIEW_H__


#include <aknview.h>
#include <f32file.h>
/*! 
  @class CTempView
  
  @discussion An instance of this class is the Application View object
  for the FreeSMS example application
  */
class CTempContainer;
class CAddressCenter;

class CTempView : public CAknView			 
{
public:
//new info
    static CTempView* NewL();
    static CTempView* NewLC();
    ~CTempView();
// from CCoeControl
    TUid	Id() const;
    void	HandleCommandL(TInt aCommand);
    void	HandleClientRectChange();
//	void	DynInitMenuBarL(TInt aResourceId, CEikMenuBar* aMenuBar);

	void	DynInitMenuPaneL(TInt aResourceId, CEikMenuPane* aMenuPane); 
private:
	CTempView();
	void	ConstructL();
    void	DoActivateL(const TVwsViewId&,TUid,const TDesC8&);
    void	DoDeactivate();

public:
	void	WriteFileByText();
	void	ReadFileByText();

	void	WriteFileByStream();
	void	ReadFileByStream();
private:
	CTempContainer*	m_pAppContainer;

	CAddressCenter* m_pAddressCenter;
	TBool aflag;
};


#endif // __FREESMS_TempView_H__

⌨️ 快捷键说明

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