calendarapiexampleentryview.h
来自「该源码实现个人日程管理以及备忘功能」· C头文件 代码 · 共 105 行
H
105 行
/*
* ============================================================================
* Name : CCalendarAPIexampleEntryView from CalendarAPIexampleEntryView.h
* Part of : CalendarAPIexample
* Created : 02/22/2005 by Forum Nokia
* Version : 1.0
* Copyright: Nokia Corporation
* ============================================================================
*/
#ifndef CALENDARAPIEXAMPLEENTRYVIEW_H
#define CALENDARAPIEXAMPLEENTRYVIEW_H
// INCLUDE FILES
#include <aknview.h>
// CONSTANTS
const TUid KEntryViewId = {3};
// FORWARD DECLARATIONS
class CCalendarAPIexampleEntryContainer;
class CCalendarAPIexampleDocument;
// CLASS DECLARATION
class CCalendarAPIexampleEntryView : public CAknView
{
public: // Constructors and destructor
/*!
* Default constructor.
*/
void ConstructL();
/*!
* Destructor.
*/
virtual ~CCalendarAPIexampleEntryView();
public: // From CAknView
/*!
* From CAknView, Id.
* Returns ID of View.
*/
TUid Id() const;
/*!
* From CAknView, HandleCommandL.
* Handles the commands. If the command is command which is required to
* display outline-screen, the command is reported to container class.
* param aCommand - Command to be handled.
*/
void HandleCommandL( TInt aCommand );
/*!
* From ?base_class ?member_description
*/
void HandleClientRectChange();
private: // New functions
/*!
* DoSaveL()
*
* Requests the model to save the current entry and then activates the proper view.
*/
void DoSaveL();
/*!
* DoDeleteL()
*
* Requests the model to delete the current entry and then activates the proper view.
*/
void DoDeleteL();
private: // From CAknView
/*!
* From CAknView, DoActivateL.
* Creates the Container class object.
* param aPrevViewId - aPrevViewId is not used.
* param aCustomMessageId - aCustomMessageId is not used.
* param aCustomMessage - aCustomMessage is not used.
*/
void DoActivateL( const TVwsViewId& aPrevViewId,
TUid aCustomMessageId,
const TDesC8& aCustomMessage );
/*!
* From CAknView, DoDeactivate.
* Deletes the Container class object.
*/
void DoDeactivate();
private: // Data members
CCalendarAPIexampleEntryContainer* iContainer;
CCalendarAPIexampleDocument* iDocument;
TBool iModify;
};
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?