dbmsexampleappui.h
来自「SymbianOS的DBMS实例 详细的代码揭示SymbianOS数据库管理系统」· C头文件 代码 · 共 79 行
H
79 行
/*
* ============================================================================
* Name : DBMSexampleAppUi.h
* Part of : DBMSexample
* Created : 02/28/2003 by Forum Nokia
* Description:
* Declares UI class for application.
* Version :
* Copyright: Nokia Corporation, 2003
* ============================================================================
*/
#ifndef DBMSEXAMPLEAPPUI_H
#define DBMSEXAMPLEAPPUI_H
// INCLUDES
#include <eikapp.h>
#include <eikdoc.h>
#include <e32std.h>
#include <coeccntx.h>
#include <aknviewappui.h>
#include <akntabgrp.h>
#include <aknnavide.h>
#include "DBMSobserver.h"
// FORWARD DECLARATIONS
class CDBMSexampleContainer;
class CDBMSengine;
class MDBMSobserver;
class CDBMSexampleAppUi : public CAknAppUi, public MDBMSobserver
{
public: // // Constructors and destructor
/**
* EPOC default constructor.
*/
void ConstructL();
/**
* Destructor.
*/
~CDBMSexampleAppUi();
public: // New functions
public: // Functions from base classes
void SetAppTitleTextL(TInt aResourceId);
virtual void UpdateViewL();
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.
* @return Response code (EKeyWasConsumed, EKeyWasNotConsumed).
*/
virtual TKeyResponse HandleKeyEventL(
const TKeyEvent& aKeyEvent,TEventCode aType);
private: //Data
TBool iIsDatabaseCreated;
CDBMSexampleContainer* iAppContainer;
};
#endif
// End of File
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?