📄 calendarapiexampleentrycontainer.h
字号:
/*
* ============================================================================
* Name : CCalendarAPIexampleEntryContainer from CalendarAPIexampleEntryContainer.h
* Part of : CalendarAPIexample
* Created : 02/22/2005 by Forum Nokia
* Version : 1.0
* Copyright: Nokia Corporation
* ============================================================================
*/
#ifndef CALENDARAPIEXAMPLEENTRYCONTAINER_H
#define CALENDARAPIEXAMPLEENTRYCONTAINER_H
// INCLUDE FILES
#include <coecntrl.h> //CCoeControl
#include <agmentry.h> //CAgnAnniv
// FORWARD DECLARATIONS
class CCalendarAPIexampleEntryItemList;
class CEntry;
// CLASS DECLARATION
class CCalendarAPIexampleEntryContainer : public CCoeControl
{
public: // Constructors and destructor
/*!
* Two-phased constructor.
*/
static CCalendarAPIexampleEntryContainer* NewL(const TRect& aRect, CEntry& aEntry);
/*!
* Destructor.
*/
virtual ~CCalendarAPIexampleEntryContainer();
public : // New functions
/*!
* SaveL()
*
* Saves data from itemlist to member entry object.
*/
TBool SaveL();
private: // Basic two-phase Symbian OS constructors
/*!
* Symbian OS default constructor.
*/
CCalendarAPIexampleEntryContainer(CEntry& aAnniversary);
void ConstructL(const TRect& aRect);
private: // Functions from base classes
/*!
* From CoeControl,SizeChanged.
*/
void SizeChanged();
/*!
* From CoeControl,CountComponentControls.
*/
TInt CountComponentControls() const;
/*!
* From CCoeControl,ComponentControl.
*/
CCoeControl* ComponentControl(TInt aIndex) const;
/*!
* From CCoeControl,OfferKeyEventL.
*/
TKeyResponse OfferKeyEventL(const TKeyEvent& aKeyEvent, TEventCode aType );
private: // Data members
CCalendarAPIexampleEntryItemList* iItemList;
CEntry& iAnniversary;
};
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -