khronosfws/openmax_al/src/mediaplayer/xamediaplayer.h
changeset 25 6f7ceef7b1d1
parent 19 4a629bc82c5e
child 33 5e8b14bae8c3
--- a/khronosfws/openmax_al/src/mediaplayer/xamediaplayer.h	Fri May 28 19:26:28 2010 -0500
+++ b/khronosfws/openmax_al/src/mediaplayer/xamediaplayer.h	Fri Jun 11 19:59:23 2010 -0500
@@ -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: MediaPlayer Object Implementation Header
+ *
+ */
 
 #ifndef XAMEDIAPLAYER_H
 #define XAMEDIAPLAYER_H
@@ -26,14 +26,12 @@
 #include "xacapabilitiesmgr.h"
 /** MACROS **/
 
-
 /** TYPES **/
 
-
 /** ENUMERATIONS **/
 /* Enumeration for interfaces that MediaPlayer supports.  */
 typedef enum
-{
+    {
     MP_OBJECTITF,
     MP_DIMITF,
     MP_PLAYITF,
@@ -53,12 +51,12 @@
     MP_NOKIALINEARVOLUME,
     MP_STREAMINFORMATIONITF,
     MP_ITFCOUNT
-} MPInterfaces;
+    } MPInterfaces;
 
 /** STRUCTURES **/
 /* Specification for XAMediaPlayerImpl.*/
 typedef struct XAMediaPlayerImpl_
-{
+    {
     /* Parent for XAMediaPlayerImpl */
     XAObjectItfImpl baseObj;
 
@@ -76,8 +74,7 @@
     XAAdaptationBaseCtx* adaptationCtxGst;
     XAAdaptationBaseCtx* adaptationCtxMMF;
 
-} XAMediaPlayerImpl;
-
+    } XAMediaPlayerImpl;
 
 /** METHODS **/
 
@@ -87,8 +84,11 @@
 void XAMediaPlayerImpl_FreeResources(XAObjectItf self);
 
 /* DynamicInterfaceManagement object-specific methods */
-XAresult XAMediaPlayerImpl_DoAddItf(XAObjectItf self, XAObjItfMapEntry *mapEntry );
-XAresult XAMediaPlayerImpl_DoResumeItf(XAObjectItf self, XAObjItfMapEntry *mapEntry );
-XAresult XAMediaPlayerImpl_DoRemoveItf(XAObjectItf self, XAObjItfMapEntry *mapEntry );
+XAresult XAMediaPlayerImpl_DoAddItf(XAObjectItf self,
+        XAObjItfMapEntry *mapEntry);
+XAresult XAMediaPlayerImpl_DoResumeItf(XAObjectItf self,
+        XAObjItfMapEntry *mapEntry);
+XAresult XAMediaPlayerImpl_DoRemoveItf(XAObjectItf self,
+        XAObjItfMapEntry *mapEntry);
 
 #endif /* XAMEDIAPLAYER_H */