📄 noteview.h
字号:
/* Copyright (c) 2007, Nokia. All rights reserved */
#ifndef __NOTEVIEW_H__
#define __NOTEVIEW_H__
#include <aknview.h>
#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<HBufC*> iMyNoteNumArray;
// RArray<HBufC*> iMyNoteNameArray;
};
#endif // __FREESMS_NoteView_H__
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -