ihxsymplayerstateobserver.h
上传用户:zhongxx05
上传日期:2007-06-06
资源大小:33641k
文件大小:2k
源码类别:
Symbian
开发平台:
C/C++
- /************************************************************************
- * ihxsymplayerstateobserver.h
- * ------------------------
- *
- * Synopsis:
- * Contains interface IHXSymPlayerStateObserver.
- *
- * Target:
- * Symbian OS
- *
- *
- * (c) 1995-2003 RealNetworks, Inc. Patents pending. All rights reserved.
- *
- ************************************************************************/
- #ifndef _ihxsymplayerstateobserver_h_
- #define _ihxsymplayerstateobserver_h_
- #include "hxcom.h"
- #include "hxcomm.h"
- #include "hxmon.h"
- #include "hxurl.h"
- #include "hxrquest.h"
- /****************************************************************************
- *
- * Interface:
- *
- * IHXSymPlayerStateObserver
- *
- * Purpose:
- *
- * Callback methods for receiving notification of player state
- * changes and events.
- *
- ****************************************************************************/
- class IHXSymPlayerStateObserver
- {
- public:
- virtual ~IHXSymPlayerStateObserver() = 0;
- virtual void OnPlayInitiate (const char* /*pUrl*/) {};
- virtual void OnNetConnect() {};
- virtual void OnLoadSession(IHXRequest* /*pRequest*/) {};
- virtual void OnResume () {};
- virtual void OnStop () {};
- virtual void OnPause () {};
- virtual void OnBeginBuffering(bool /*bIsBegin*/) {}
- virtual void OnBuffering(UINT16 /*percent*/) {}
- virtual void OnBeginSeek () {};
- virtual void OnVolume (unsigned int /*percentVol*/) {};
- virtual void OnMute (bool /*bMute*/) {};
- virtual void OnNewPos (ULONG32 /*msNewTime*/) {};
- virtual void OnError(HX_RESULT /*code*/) {};
- virtual void OnAdvancePlaylist() {};
- };
- inline
- IHXSymPlayerStateObserver::~IHXSymPlayerStateObserver() {}
- #endif // _ihxsymplayerstateobserver_h_