📄 tictactoeappui.h
字号:
/*
* ==============================================================================
* Name : TicTacToeAppUi.h
* Part of : TicTacToe
* Interface :
* Description :
* Version :
*
* Copyright (c) 2005 Nokia Corporation.
* ==============================================================================
*/
#ifndef __TICTACTOE_APPUI_H__
#define __TICTACTOE_APPUI_H__
// INCLUDES
#include <aknappui.h>
// FORWARD DECLARATIONS
class CTicTacToeAppView;
// CLASS DECLARATION
/**
* An instance of class CTicTacToeAppUi is the UserInterface part of the AVKON
* application framework for the TicTacToe application.
*/
class CTicTacToeAppUi : public CAknAppUi
{
public: // Constructors and destructor
/**
* Perform the second phase construction. This needs to be public due
* to the way the framework constructs the AppUi.
*/
void ConstructL();
/**
* Perform the first phase of two phase construction. This needs to be
* public due to the way the framework constructs the AppUi.
*/
CTicTacToeAppUi();
/**
* Destroy the object.
*/
~CTicTacToeAppUi();
public: // from CAknAppUi
/**
* Handle user menu selections.
* @param aCommand the enumerated code for the option selected
*/
void HandleCommandL(TInt aCommand);
private: // from CAknAppUi
/**
* Handle change in screen resolution.
*/
void HandleScreenDeviceChangedL();
private: // New functions
/**
* Change the currently selected graphics set.
* @param aGraphicsSet New graphics set
*/
void SetGraphicsL(TInt aGraphicsSet);
/**
* Load settings from the config file.
*/
void LoadSettingsL();
/**
* Save settings to the config file.
*/
void SaveSettingsL();
private: // Data
// The application view
CTicTacToeAppView* iAppView;
// The currently selected graphics set
TInt iGraphicsSet;
};
#endif // __TICTACTOE_APPUI_H__
// End of File
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -