www.pudn.com > SystemSounds_Example_v1_0.zip > SystemSoundsView2.h


/*
* ============================================================================
* 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&amt; aPrevViewId,TUid aCustomMessageId,
const TDesC8&amt; aCustomMessage);

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

private: // Data
CSystemSoundsContainer2* iContainer;
};

#endif

// End of File