--- a/khronosfws/openmax_al/src/common/xadynintmgmtitf.h Fri May 28 19:26:28 2010 -0500
+++ b/khronosfws/openmax_al/src/common/xadynintmgmtitf.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: Dynamic Mgmt Interface Header
+ *
+ */
#ifndef XADYNINTMGMTITF_H
#define XADYNINTMGMTITF_H
@@ -26,16 +26,19 @@
/** TYPES **/
/* object implementation-specific DIM methods */
-typedef XAresult (*xaDoAddItfImpl)(XAObjectItf self, XAObjItfMapEntry *mapEntry );
-typedef XAresult (*xaDoResumeItfImpl)(XAObjectItf self, XAObjItfMapEntry *mapEntry );
-typedef XAresult (*xaDoRemoveItfImpl)(XAObjectItf self, XAObjItfMapEntry *mapEntry );
+typedef XAresult (*xaDoAddItfImpl)(XAObjectItf self,
+ XAObjItfMapEntry *mapEntry);
+typedef XAresult (*xaDoResumeItfImpl)(XAObjectItf self,
+ XAObjItfMapEntry *mapEntry);
+typedef XAresult (*xaDoRemoveItfImpl)(XAObjectItf self,
+ XAObjItfMapEntry *mapEntry);
/** ENUMERATIONS **/
/** STRUCTURES **/
/* Definition of XADynamicInterfaceManagementItf implementation */
typedef struct XADIMItfImpl_
-{
+ {
/* parent interface */
struct XADynamicInterfaceManagementItf_ itf;
/* pointer to self */
@@ -45,7 +48,7 @@
/* pointer to parent object */
XAObjectItf parent;
/* pointers to implementation-specific methods */
- xaDoAddItfImpl DoAddItfImpl;
+ xaDoAddItfImpl DoAddItfImpl;
xaDoResumeItfImpl DoResumeItfImpl;
xaDoRemoveItfImpl DoRemoveItfImpl;
@@ -57,42 +60,37 @@
XAboolean asyncOngoing;
XAInterfaceID asyncID;
-} XADIMItfImpl;
+ } XADIMItfImpl;
/* Base interface XADynamicInterfaceManagementItf implementation */
XAresult XADIMItfImpl_AddInterface(XADynamicInterfaceManagementItf self,
- const XAInterfaceID iid, XAboolean async);
+ const XAInterfaceID iid, XAboolean async);
XAresult XADIMItfImpl_RemoveInterface(XADynamicInterfaceManagementItf self,
- const XAInterfaceID iid);
+ const XAInterfaceID iid);
XAresult XADIMItfImpl_ResumeInterface(XADynamicInterfaceManagementItf self,
- const XAInterfaceID iid, XAboolean async);
+ const XAInterfaceID iid, XAboolean async);
XAresult XADIMItfImpl_RegisterCallback(XADynamicInterfaceManagementItf self,
- xaDynamicInterfaceManagementCallback callback,
- void * pContext);
+ xaDynamicInterfaceManagementCallback callback, void * pContext);
/* XADIMItfImpl -specific methods */
XADIMItfImpl* XADIMItfImpl_Create(void);
void XADIMItfImpl_Free(XADIMItfImpl* self);
-void XADIMItfImpl_Init( XADIMItfImpl* self,
- XAObjectItf parent,
- xaDoAddItfImpl doAdd,
- xaDoResumeItfImpl doResume,
- xaDoRemoveItfImpl doRemove);
+void XADIMItfImpl_Init(XADIMItfImpl* self, XAObjectItf parent,
+ xaDoAddItfImpl doAdd, xaDoResumeItfImpl doResume,
+ xaDoRemoveItfImpl doRemove);
-void XADIMItfImpl_SendCbEvent( XADIMItfImpl* self,
- XAuint32 event,
- XAresult result,
- const XAInterfaceID iid );
+void XADIMItfImpl_SendCbEvent(XADIMItfImpl* self, XAuint32 event,
+ XAresult result, const XAInterfaceID iid);
/* methods for asynchronous service */
void* XADIMItfImpl_AsyncAddItf(void* args);
XAresult XADIMItfImpl_DoAddItf(XADIMItfImpl* impl, const XAInterfaceID iid);
void* XADIMItfImpl_AsyncResumeItf(void* args);
-XAresult XADIMItfImpl_DoResumeItf(XADIMItfImpl* impl, const XAInterfaceID iid);
-
+XAresult
+ XADIMItfImpl_DoResumeItf(XADIMItfImpl* impl, const XAInterfaceID iid);
#endif /* XADYNINTMGMTITF_H */