systemsoundsview2.h

来自「symbian for c++ 系统声音调用例子」· C头文件 代码 · 共 86 行

H
86
字号
/*
* ============================================================================
*  Name     : CSystemSoundsView2 from SystemSoundsView2.h
*  Part of  : SystemSounds
*  Created  : 06/12/2003 by Forum Nokia
*  Description:
*     Declares view for application.
*  Version  :
*  Copyright: Nokia
* ============================================================================
*/

#ifndef SYSTEMSOUNDSVIEW2_H
#define SYSTEMSOUNDSVIEW2_H

// INCLUDES
#include <aknview.h>
#include <bassnd.h>     // For TBaSystemSound*
#include <coesndpy.h>   // CoeSoundPlayer


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

// FORWARD DECLARATIONS
class CSystemSoundsContainer2;

// CLASS DECLARATION

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

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

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

    public: // Functions from base classes
        
        /**
        * From ?base_class ?member_description
        */
        TUid Id() const;

        /**
        * From ?base_class ?member_description
        */
        void HandleCommandL(TInt aCommand);

        /**
        * From ?base_class ?member_description
        */
        void HandleClientRectChange();

    private:

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

        /**
        * From AknView, ?member_description
        */
        void DoDeactivate();

    private: // Data
        CSystemSoundsContainer2* iContainer;
    };

#endif

// End of File

⌨️ 快捷键说明

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