⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tictactoeappui.h

📁 《Symbian S60第3版手机程序开发与实用教程》光盘源代码
💻 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 + -