📄 calendarapiexampleappui.h
字号:
/*
* ============================================================================
* Name : CCalendarAPIexampleAppUi from CalendarAPIexampleAppUi.h
* Part of : CalendarAPIexample
* Created : 12/06/2006 by Forum Nokia
* Description:
* Declares UI class for application.
* Version : 2.0
* Copyright: Nokia Corporation
* ============================================================================
*/
#ifndef CALENDARAPIEXAMPLEAPPUI_H
#define CALENDARAPIEXAMPLEAPPUI_H
// INCLUDES
#include <eikapp.h>
#include <eikdoc.h>
#include <e32std.h>
#include <coeccntx.h>
#include <aknviewappui.h>
#include "CalendarAPIexampleEngine.h"
class CCalendarAPIexampleSearchView;
class CCalendarAPIexampleEntryView;
class CCalendarAPIexampleEntriesView;
// CLASS DECLARATION
/*!
* Application UI class.
* Provides support for the following features:
* - EIKON control architecture
*
*/
class CCalendarAPIexampleAppUi : public CAknViewAppUi,
public MCalenderEngineObserverUI
{
public: // // Constructors and destructor
/*!
* Symbian OS default constructor.
*/
void ConstructL();
/*!
* Destructor.
*/
~CCalendarAPIexampleAppUi();
/*!
* Changes a view
*/
void ActivateView(TUid aViewId);
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);
/*!
* From CEikAppUi, handles key events.
* param aKeyEvent - Event to handled.
* param aType - Type of the key event.
*/
virtual TKeyResponse HandleKeyEventL(
const TKeyEvent& aKeyEvent,TEventCode aType);
void HandleResourceChangeL(TInt aType);
private:
//The engine component
CCalendarAPIexampleEngine* iEngine;
//views:
CCalendarAPIexampleSearchView* iSearchView;
CCalendarAPIexampleEntryView* iEntryView;
CCalendarAPIexampleEntriesView* iEntriesView;
};
#endif
// End of File
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -