📄 s60appengineslabappui.h
字号:
/*
* ============================================================================
* Name : CS60AppEnginesLabAppUi from S60AppEnginesLabAppUi.h
* Part of : S60AppEnginesLab
* Created : 09/02/2004 by
* Description:
* Declares UI class for application.
* Version :
* Copyright:
* ============================================================================
*/
#ifndef S60APPENGINESLABAPPUI_H
#define S60APPENGINESLABAPPUI_H
// INCLUDES
#include <eikapp.h>
#include <eikdoc.h>
#include <e32std.h>
#include <coeccntx.h>
#include <aknappui.h>
#include <agmmodel.h>
#include <f32file.h>
#include <txtfmlyr.h>
#include <agmcallb.h>
#include <eikmenup.h>
// FORWARD DECLARATIONS
class CS60AppEnginesLabContainer;
// CLASS DECLARATION
/**
* Application UI class.
* Provides support for the following features:
* - EIKON control architecture
*
*/
class CS60AppEnginesLabAppUi : public CAknAppUi
{
public: // // Constructors and destructor
/**
* EPOC default constructor.
*/
void ConstructL();
/**
* Destructor.
*/
~CS60AppEnginesLabAppUi();
public: // New functions
public: // Functions from base classes
private:
// From MEikMenuObserver
void DynInitMenuPaneL(TInt aResourceId,CEikMenuPane* aMenuPane);
private:
/**
* From CEikAppUi, takes care of command handling.
* @param aCommand command to be handled
*/
void HandleCommandL(TInt aCommand);
void OpenAgendaFileL();
void AddEventEntryL();
void AddApptEntryL();
void DeleteEntryL();
void DeleteAllEntriesL();
/**
* From CEikAppUi, handles key events.
* @param aKeyEvent Event to handled.
* @param aType Type of the key event.
* @return Response code (EKeyWasConsumed, EKeyWasNotConsumed).
*/
virtual TKeyResponse HandleKeyEventL(
const TKeyEvent& aKeyEvent,TEventCode aType);
private: //Data
CS60AppEnginesLabContainer* iAppContainer;
RFs iFs;
CAgnModel* iAgnModel;
RAgendaServ* iAgnServ;
CParaFormatLayer* iParaFmtLayer;
CCharFormatLayer* iCharFmtLayer;
TDateTime iStartTime; // start time for event/appt
TDateTime iEndTime; // end time for event/appt
};
#endif
// End of File
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -