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

📄 systemsoundsview.h

📁 symbian for c++ 系统声音调用例子
💻 H
字号:
/*
* ============================================================================
*  Name     : CSystemSoundsView from SystemSoundsView.h
*  Part of  : SystemSounds
*  Created  : 06/12/2003 by Forum Nokia
*  Description:
*     Declares view for application.
*  Version  :
*  Copyright: Nokia
* ============================================================================
*/

#ifndef SYSTEMSOUNDSVIEW_H
#define SYSTEMSOUNDSVIEW_H

// INCLUDES
#include <aknview.h>
#include <aknsoundsystem.h>		// for playing keysounds


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

// FORWARD DECLARATIONS
class CSystemSoundsContainer;

// CLASS DECLARATION

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

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

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

    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();

        // For player
        CAknKeySoundSystem* iSoundPlayer;

    private: // Data
        CSystemSoundsContainer* iContainer;
    };

#endif

// End of File

⌨️ 快捷键说明

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