📄 mmsdemo1form.h
字号:
/*
* ============================================================================
* Name : CMMSDemo1Form from CMMSDemo1Form.h
* Part of : MMSDemo1
* Created : 28.10.2002 by Forum Nokia
* Description:
* Message editing and viewing form.
* Version :
* Copyright: Nokia Corp. 2003
* ============================================================================
*/
#ifndef MMSDEMO1FORM_H
#define MMSDEMO1FORM_H
// INCLUDES
#include <aknform.h>
#include "mmsdemo1.hrh"
// CONSTANTS
// CLASS DECLARATION
/**
*
*/
class CMMSDemo1Form : public CAknForm
{
public: // Constructor and destructor
/**
* Two-phased constructor.
*/
static CMMSDemo1Form* NewL(TBool, TDes&,
TDes&, TDes&, TDes&, TBool aForwadMsg = EFalse, TBool aOpenedMessage = EFalse);
/**
* Destructor.
*/
virtual ~CMMSDemo1Form();
TBool OkToExitL(TInt aButtonId);
TKeyResponse OfferKeyEventL(const TKeyEvent& ,
TEventCode );
void SetModifyAllowed(TBool );
TBool CurrentStatus(){return iModifyAllowed;};
void ProcessCommandL (TInt aCommandId);
// From MEikMenuObserver
void DynInitMenuPaneL( TInt aResourceId, CEikMenuPane* aMenuPane );
private: // Constructor
/**
* Default constructor.
*/
CMMSDemo1Form(TBool, TDes&, TDes&, TDes&, TDes&, TBool aForwadMsg, TBool aOpenedMessage );
TBool ValidateL();
private: // Functions from base class
/**
* From CEikDialog
* Set default field value to member data.
*/
void PostLayoutDynInitL();
private:
TDes& iUrl;
TDes& iDesc;
TDes& iTo;
TDes& iCc;
TBool iEmergencyExit;
TBool iModifyAllowed;
TBool iIsForwardMsg;
TBool iIsOpenedMsg;
};
#endif // MMSDEMO1FORM_H
// End of File
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -