globalquerycontainer.h

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

H
57
字号
#ifndef GLOBALQUERYCONTAINER_H
#define GLOBALQUERYCONTAINER_H

// INCLUDES

// System includes
#include <badesca.h> // CDesCArrayFlat
#include <coecntrl.h> // CCoeControl

// User includes
#include "GlobalQueryCloseGameObserver.h"

// FORWARD DECLARATIONS
class CGlobalQueryQueryHandlerAO;
class CAknGlobalMsgQuery;

// CLASS DECLARATION

/**
*
* @class    CGlobalQueryContainer GlobalQueryContainer.h 
* @brief    This is the container class for a query example based on the
* standard Symbian OS architecture.  
*
* Copyright (c) EMCC Software Ltd 2003
* @version    1.0
* 
*/
class CGlobalQueryContainer : public CCoeControl, MGlobalQueryCloseGameObserver
{
public: // Constructors and destructor

    static CGlobalQueryContainer* NewL(const TRect& aRect);
    static CGlobalQueryContainer* NewLC(const TRect& aRect);
    ~CGlobalQueryContainer();

public: // from MGlobalQueryCloseGameObserver

    void CloseGameL();

private: // constructor

    void ConstructL(const TRect& aRect);

private: // from CoeControl

    void Draw(const TRect& aRect) const;

private: //data
    CGlobalQueryQueryHandlerAO* iQueryHandlerAO;
    CAknGlobalMsgQuery* iGlobalMsgQuery;
};

#endif    // #ifndef GLOBALQUERYCONTAINER_H

// End of File

⌨️ 快捷键说明

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