systemagentappui.h

来自「series60 应用程序开发的源代码 series60 应用程序开发的源代码」· C头文件 代码 · 共 50 行

H
50
字号
#ifndef __SYSTEMAGENTAPPUI_H__
#define __SYSTEMAGENTAPPUI_H__

// INCLUDES

// System includes 
#include <aknappui.h> // CAknAppUi

// FORWARD DECLARATIONS
class CSystemAgentDialog;
class CStateVarObserver;


// CLASS DECLARATION

/**
*
* @class    CSystemAgentAppUi SystemAgentAppUi.h 
* @brief    This is the main application UI class for the System Agent example using a 
* dialog based architecture.
*
* Copyright (c) EMCC Software Ltd 2003
* @version 1.0
*/


class CSystemAgentAppUi : public CAknAppUi
{
public:    // Constructors and destructor
    void ConstructL();
    ~CSystemAgentAppUi();

private:    // from CAknAppUi
    void HandleCommandL(TInt aCommand);
    
private:    // Data
    // Dialog with labels used to display changes to state variables
    CSystemAgentDialog*       iAppDialog; 

    // Active objects which observe the state variables
    CStateVarObserver* iSystemAgentVarObserver;
    CStateVarObserver* iInboxVarObserver;
    CStateVarObserver* iChargerVarObserver;
    CStateVarObserver* iNetworkStrengthVarObserver;
};

#endif    // __SYSTEMAGENTAPPUI_H__

// End of File

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?