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

📄 aknexqueryview.h

📁 symbian中询问对话框生成的源代码 适合初学者使用。
💻 H
字号:
/*  Copyright (c) 2004, Nokia. All rights reserved */

#ifndef __AKNEXQUERYVIEW_H__
#define __AKNEXQUERYVIEW_H__

// INCLUDES
#include <aknview.h>

// CONSTANTS
const TUid KViewId = { 1 }; // UID of view

const TInt KAknExQueryInitId = 0;
const TInt KAknExQueryBufferEmpty = 0;
const TInt KAknExQueryTitleBufLength = 256;

// FORWARD DECLARATIONS
class CAknExQueryContainer;

// CLASS DECLARATION

/**
*  CAknExQueryView view class.
*/
class CAknExQueryView : public CAknView
    {
    public: // Constructors and destructor

        /**
        * CAknExQueryView
        * Constructor.
        */
        CAknExQueryView();

        /**
        * ~CAknExQueryView
        * Destructor.
        */
        virtual ~CAknExQueryView();

    public: // New functions.

        /**
        * DisplayNextOutlineL
        * Display next outline.
        */
        void DisplayNextOutlineL();

    public: // From CAknView

        /**
        * Id
        * From CAknView, Id.
        * Returns the ID of view.
        * @return The ID of view.
        */
        TUid Id() const;

        /**
        * From CAknView, HandleCommandL.
        * handles the commands. if the command is command which is require to
        * display outline-screen, the command is reported to container class.
        * @param aCommand Command to be handled.
        */
        void HandleCommandL( TInt aCommand );

    private: // New functions

        /**
        * SetTitlePaneL
        * Set titletext for titlepane.
        */
        void SetTitlePaneL( TInt aOutlineId );

    private: // From CAknView

        /**
        * From CAknView, DoActivateL.
        * Creates the Container class object.
        * @param aPrevViewId aPrevViewId is not used.
        * @param aCustomMessageId aCustomMessageId is not used.
        * @param aCustomMessage aCustomMessage is not used.
        */
        void DoActivateL( 
            const TVwsViewId& aPrevViewId,
            TUid aCustomMessageId,
            const TDesC8& aCustomMessage );

        /**
        * From CAknView, DoDeactivate.
        * Deletes the Container class object.
        */
        void DoDeactivate();

    private: // Data

        /**
        * iContainer, container class.
        * Owned by CAknExQueryView object.
        */
        CAknExQueryContainer* iContainer;

        /**
        * iCurrentOutline
        */
        TInt iCurrentOutline;

    };

#endif // __AKNEXQUERYVIEW_H__

// End of File

⌨️ 快捷键说明

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