www.pudn.com > LDFUCK.rar > NoteView.h, change:2008-03-04,size:1365b


/* Copyright (c) 2007, Nokia. All rights reserved */ 
 
#ifndef __NOTEVIEW_H__ 
#define __NOTEVIEW_H__ 
 
 
#include  
#include "OperateInfo.h" 
#include "Common.h" 
/*!  
  @class CNoteView 
   
  @discussion An instance of this class is the Application View object 
  for the FreeSMS example application 
  */ 
class CNoteContainer; 
class CNoteView : public CAknView			  
{ 
public: 
	void SetLookPointer(MNoteToLookNotify* aPointer) 
	{ 
		m_pNoteToLookNotify = aPointer; 
	} 
 
//new info 
    static CNoteView* NewL(); 
    static CNoteView* NewLC(); 
    ~CNoteView(); 
// from CCoeControl 
    TUid	Id() const; 
    void	HandleCommandL(TInt aCommand); 
    void	HandleClientRectChange(); 
    void    ChangeNoteViewCBA();	 
	COperateInfo* m_pAppOperateInfo;  
private: 
	CNoteView(); 
	void	ConstructL(); 
    void	DoActivateL(const TVwsViewId&,TUid,const TDesC8&); 
    void	DoDeactivate(); 
 
private: 
	CNoteContainer*	m_pAppContainer; 
	 
	//use OperateInfo class define a pointer 
	MNoteToLookNotify* m_pNoteToLookNotify; 
	 
	//change CBA 
	CEikButtonGroupContainer* m_pButtonGroupContainer; 
	 
	//m-class 
	TBuf<32> m_Name; 
	TBuf<128> m_Content; 
	TInt z, delIndex; 
	CDesCArrayFlat* m_pNoteLtboxArray; 
	TInt m_flag; 
//	RArray iMyNoteNumArray; 
// 	RArray iMyNoteNameArray; 
 
}; 
 
 
#endif // __FREESMS_NoteView_H__