// EIKSNDPY.H
//
// Copyright (c) 1997-1999 Symbian Ltd.  All rights reserved.
//

#if !defined(__EIKSNDPY_H__)
#define __EIKSNDPY_H__

#if !defined(__E32BASE_H__)
#include <e32base.h>
#endif

#if !defined(__D32SND_H__)
#include <d32snd.h>
#endif

#if !defined(__BASPYRC_H__)
#include <baspyrc.h>
#endif

//
// CEikAlarmSoundPlayer class
//

class CSoundPlayer;

class CEikAlarmSoundPlayer : public CBase, public MSoundPlayerObserver
	{
public:
	IMPORT_C static CEikAlarmSoundPlayer* NewL();
	IMPORT_C ~CEikAlarmSoundPlayer();
	IMPORT_C TInt Play(RFs& aFsSession,const TName& aName);
	IMPORT_C void Stop();
	IMPORT_C TBool IsPlaying() const;
private:
	CEikAlarmSoundPlayer();
	void ConstructL();
	void PlayComplete(TInt aStatus);
private:													
	CSoundPlayer* iSoundPlayer;
	RDevSound iSoundDev;
	};

#endif
