dirscraccview2.h

来自「symbian平台上如何在屏幕上快速的显示图片」· C头文件 代码 · 共 84 行

H
84
字号
/*
* ============================================================================
*  Name     : CDirScrAccView2 from DirScrAccView2.h
*  Part of  : DirScrAcc
*  Created  : 20.11.2002 by Forum Nokia
*  Description:
*     Declares view 2 for application.
*  Version  : 1.0
*  Copyright: Nokia Corporation
* ============================================================================
*/

#ifndef DIRSCRACCVIEW2_H
#define DIRSCRACCVIEW2_H

// INCLUDES
#include <aknview.h>


// CONSTANTS
// UID of view
const TUid KView2Id = {2};

// FORWARD DECLARATIONS
class CDirScrAccContainer2;

// CLASS DECLARATION

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

        /**
        * Symbian default constructor.
        */
        void ConstructL();

        /**
        * Destructor.
        */
        ~CDirScrAccView2();

    public: // Functions from base classes
        
        /**
        * Return Uid
        */
        TUid Id() const;

        /**
        * Handle Commands
        */
        void HandleCommandL(TInt aCommand);

        /**
        * Handle size change
        */
        void HandleClientRectChange();

    private:

        /**
        * From AknView, activates view
        */
        void DoActivateL(const TVwsViewId& aPrevViewId,TUid aCustomMessageId,
            const TDesC8& aCustomMessage);

        /**
        * From AknView, deactivates view
        */
        void DoDeactivate();

    private: // Data
        CDirScrAccContainer2* iContainer;
    };

#endif

// End of File

⌨️ 快捷键说明

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