?? oandxappui.h
字號:
// Copyright (c) 2004 - 2006, Symbian Software Ltd. All rights reserved.
#ifndef OANDX_APPUI_H
#define OANDX_APPUI_H
#include <aknappui.h>
#include <eikmenup.h>
#include <eikmenub.h>
class COandXAppView;
class COandXController;
class COandXEngine;
class COandXAppUi : public CAknAppUi
/**
Standard application UI class handles menu commands and
reports information to the user.
*/
{
public:
COandXAppUi();
virtual ~COandXAppUi();
// New functions
void ReportWhoseTurn();
void ReportWinnerL(TInt aWinner);
// From CEikAppUi, for persistent data
TStreamId StoreL(CStreamStore& aStore) const;
void RestoreL(const CStreamStore& aStore, TStreamId aStreamId);
void ExternalizeL(RWriteStream& aStream) const;
void InternalizeL(RReadStream& aStream);
private:
// From MEikMenuObserver
void DynInitMenuPaneL(TInt aResourceId, CEikMenuPane* aMenuPane);
// From CEikAppUi
void HandleCommandL(TInt aCommand);
void ConstructL();
public:
// AppUi owns the controller, engine and application view.
COandXController* iController;
COandXEngine* iEngine;
private:
COandXAppView* iAppView;
// Set if the app view was added to the control stack.
TBool iStacked;
};
// Global accessor functions
GLREF_C COandXAppUi* OandXAppUi();
GLREF_C COandXController& Controller();
GLREF_C COandXEngine& Engine();
#endif // OANDX_APPUI_H
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -