--- a/khronosfws/openmax_al/src/mediarecorder/xametadatainsertionitf.h Fri May 28 19:26:28 2010 -0500
+++ b/khronosfws/openmax_al/src/mediarecorder/xametadatainsertionitf.h Fri Jun 11 19:59:23 2010 -0500
@@ -1,24 +1,23 @@
/*
-* 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: Metadata Insertion Itf Impl
+ *
+ */
#ifndef XAMETADATAINSERTIONITF_H
#define XAMETADATAINSERTIONITF_H
-
#include "xametadataadaptation.h"
#include "xamediarecorder.h"
/** MACROS **/
@@ -30,7 +29,7 @@
/** STRUCTURES **/
/* Definition of XAMetadataInsertionItf implementation */
typedef struct XAMetadataInsertionItfImpl_
-{
+ {
/* parent interface */
struct XAMetadataInsertionItf_ itf;
/* pointer to self */
@@ -38,59 +37,50 @@
/* variables */
XAAdaptationBaseCtx *adaptCtx;
- XAMetadataImplTagList currentTags;
+ XAMetadataImplTagList currentTags;
/*Callback*/
xaMetadataInsertionCallback callback;
- void *cbcontext;
+ void *cbcontext;
XAMetadataInsertionItf cbPtrToSelf;
-} XAMetadataInsertionItfImpl;
+ } XAMetadataInsertionItfImpl;
/** METHODS **/
/* Base interface XAMetadataInsertionItf implementation */
-XAresult XAMetadataInsertionItfImpl_CreateChildNode(XAMetadataInsertionItf self,
- XAint32 parentNodeID,
- XAuint32 type,
- XAchar *mimeType,
- XAint32 *pChildNodeID);
+XAresult XAMetadataInsertionItfImpl_CreateChildNode(
+ XAMetadataInsertionItf self, XAint32 parentNodeID, XAuint32 type,
+ XAchar *mimeType, XAint32 *pChildNodeID);
-XAresult XAMetadataInsertionItfImpl_GetSupportedKeysCount(XAMetadataInsertionItf self,
- XAint32 nodeID,
- XAboolean *pFreeKeys,
- XAuint32 *pKeyCount,
- XAuint32 *pEncodingCount);
+XAresult XAMetadataInsertionItfImpl_GetSupportedKeysCount(
+ XAMetadataInsertionItf self, XAint32 nodeID, XAboolean *pFreeKeys,
+ XAuint32 *pKeyCount, XAuint32 *pEncodingCount);
XAresult XAMetadataInsertionItfImpl_GetKeySize(XAMetadataInsertionItf self,
- XAint32 nodeID,
- XAuint32 keyIndex,
- XAuint32 *pKeySize);
+ XAint32 nodeID, XAuint32 keyIndex, XAuint32 *pKeySize);
XAresult XAMetadataInsertionItfImpl_GetKey(XAMetadataInsertionItf self,
- XAint32 nodeID,
- XAuint32 keyIndex,
- XAuint32 keySize,
- XAMetadataInfo *pKey);
+ XAint32 nodeID, XAuint32 keyIndex, XAuint32 keySize,
+ XAMetadataInfo *pKey);
-XAresult XAMetadataInsertionItfImpl_GetFreeKeysEncoding(XAMetadataInsertionItf self,
- XAint32 nodeID,
- XAuint32 encodingIndex,
- XAuint32 *pEncoding);
+XAresult XAMetadataInsertionItfImpl_GetFreeKeysEncoding(
+ XAMetadataInsertionItf self, XAint32 nodeID, XAuint32 encodingIndex,
+ XAuint32 *pEncoding);
-XAresult XAMetadataInsertionItfImpl_InsertMetadataItem(XAMetadataInsertionItf self,
- XAint32 nodeID,
- XAMetadataInfo *pKey,
- XAMetadataInfo *pValue,
- XAboolean overwrite);
+XAresult XAMetadataInsertionItfImpl_InsertMetadataItem(
+ XAMetadataInsertionItf self, XAint32 nodeID, XAMetadataInfo *pKey,
+ XAMetadataInfo *pValue, XAboolean overwrite);
-XAresult XAMetadataInsertionItfImpl_RegisterCallback(XAMetadataInsertionItf self,
- xaMetadataInsertionCallback callback,
- void *pContext);
+XAresult XAMetadataInsertionItfImpl_RegisterCallback(
+ XAMetadataInsertionItf self, xaMetadataInsertionCallback callback,
+ void *pContext);
/* XAMetadataInsertionItfImpl -specific methods */
-XAMetadataInsertionItfImpl* XAMetadataInsertionItfImpl_Create(XAMediaRecorderImpl* impl);
-void XAMetadataInsertionItfImpl_AdaptCb( void *pHandlerCtx, XAAdaptEvent *event );
+XAMetadataInsertionItfImpl* XAMetadataInsertionItfImpl_Create(
+ XAMediaRecorderImpl* impl);
+void XAMetadataInsertionItfImpl_AdaptCb(void *pHandlerCtx,
+ XAAdaptEvent *event);
void XAMetadataInsertionItfImpl_Free(XAMetadataInsertionItfImpl* self);
#endif /* XAMETADATAINSERTIONITF_H */