www.pudn.com > SystemSounds_Example_v1_0.zip > SystemSoundsView.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#include // 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