--- a/khronosfws/openmax_al/src/mediaplayer/xaplayitf.h Thu May 27 13:20:50 2010 +0300
+++ b/khronosfws/openmax_al/src/mediaplayer/xaplayitf.h Wed Jun 23 18:47:10 2010 +0300
@@ -1,19 +1,19 @@
/*
-* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
-* All rights reserved.
-* This component and the accompanying materials are made available
-* under the terms of "Eclipse Public License v1.0"
-* which accompanies this distribution, and is available
-* at the URL "http://www.eclipse.org/legal/epl-v10.html".
-*
-* Initial Contributors:
-* Nokia Corporation - initial contribution.
-*
-* Contributors:
-*
-* Description:
-*
-*/
+ * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+ * All rights reserved.
+ * This component and the accompanying materials are made available
+ * under the terms of "Eclipse Public License v1.0"
+ * which accompanies this distribution, and is available
+ * at the URL "http://www.eclipse.org/legal/epl-v10.html".
+ *
+ * Initial Contributors:
+ * Nokia Corporation - initial contribution.
+ *
+ * Contributors:
+ *
+ * Description: Play Itf Header
+ *
+ */
#ifndef XAPLAYITF_H
#define XAPLAYITF_H
@@ -21,7 +21,6 @@
#include "xaadptbasectx.h"
#include "xamediaplayer.h"
-
/** MACROS **/
#define NO_POSITION XA_TIME_UNKNOWN
#define PLAYITF_DEFAULT_UPDATE_PERIOD 1000
@@ -34,7 +33,7 @@
/** STRUCTURES **/
/* Definition of XAPlayItf implementation */
typedef struct XAPlayItfImpl_
-{
+ {
/* parent interface */
struct XAPlayItf_ itf;
/* pointer to self */
@@ -51,7 +50,7 @@
XAuint32 eventFlags;
XAmillisecond markerPosition;
XAmillisecond positionUpdatePeriod;
- XAboolean positionupdateOn;
+ XAboolean positionupdateOn;
XAmillisecond lastPosition;
XAboolean isMarkerPosCbSend;
@@ -59,10 +58,10 @@
/* TODO : This is no longer needed since we have access to XAMediaPlayerImpl
* Delete this.*/
XAAdaptationBaseCtx *adapCtx;
-
+
XAMediaPlayerImpl* pObjImpl;
-} XAPlayItfImpl;
+ } XAPlayItfImpl;
/** METHODS **/
@@ -75,30 +74,33 @@
XAresult XAPlayItfImpl_GetPosition(XAPlayItf self, XAmillisecond *pMsec);
-XAresult XAPlayItfImpl_RegisterCallback(XAPlayItf self, xaPlayCallback callback,
- void *pContext);
+XAresult XAPlayItfImpl_RegisterCallback(XAPlayItf self,
+ xaPlayCallback callback, void *pContext);
-XAresult XAPlayItfImpl_SetCallbackEventsMask(XAPlayItf self, XAuint32 eventFlags);
+XAresult XAPlayItfImpl_SetCallbackEventsMask(XAPlayItf self,
+ XAuint32 eventFlags);
-XAresult XAPlayItfImpl_GetCallbackEventsMask(XAPlayItf self, XAuint32 *pEventFlags);
+XAresult XAPlayItfImpl_GetCallbackEventsMask(XAPlayItf self,
+ XAuint32 *pEventFlags);
XAresult XAPlayItfImpl_SetMarkerPosition(XAPlayItf self, XAmillisecond mSec);
XAresult XAPlayItfImpl_ClearMarkerPosition(XAPlayItf self);
-XAresult XAPlayItfImpl_GetMarkerPosition(XAPlayItf self, XAmillisecond *pMsec);
+XAresult
+ XAPlayItfImpl_GetMarkerPosition(XAPlayItf self, XAmillisecond *pMsec);
-XAresult XAPlayItfImpl_SetPositionUpdatePeriod(XAPlayItf self, XAmillisecond mSec);
+XAresult XAPlayItfImpl_SetPositionUpdatePeriod(XAPlayItf self,
+ XAmillisecond mSec);
-XAresult XAPlayItfImpl_GetPositionUpdatePeriod(XAPlayItf self, XAmillisecond *pMsec);
-
+XAresult XAPlayItfImpl_GetPositionUpdatePeriod(XAPlayItf self,
+ XAmillisecond *pMsec);
/*
* implementation-specific methods
*/
-XAPlayItfImpl* XAPlayItfImpl_Create( XAMediaPlayerImpl *impl );
-void XAPlayItfImpl_AdaptCb( void *pHandlerCtx, XAAdaptEvent *event );
+XAPlayItfImpl* XAPlayItfImpl_Create(XAMediaPlayerImpl *impl);
+void XAPlayItfImpl_AdaptCb(void *pHandlerCtx, XAAdaptEvent *event);
void XAPlayItfImpl_Free(XAPlayItfImpl* self);
-
#endif /* XAPLAYITF_H */