--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/khronosfws/openmax_al/src/adaptation/xaledarrayitfadaptation.c Fri Apr 16 15:29:42 2010 +0300
@@ -0,0 +1,57 @@
+/*
+* 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:
+*
+*/
+
+#include "XALEDArrayAdaptCtx.h"
+#include "XALEDArrayItfAdaptation.h"
+#include "XAAdaptation.h"
+
+/*
+ * XAresult XALEDArrayItfAdapt_ActivateLEDArray ( XAAdaptationBaseCtx *bCtx, XAuint32 lightMask )
+ */
+XAresult XALEDArrayItfAdapt_ActivateLEDArray ( XAAdaptationBaseCtx *bCtx, XAuint32 lightMask )
+{
+ XAresult ret = XA_RESULT_SUCCESS;
+ DEBUG_API_A1("->XALEDArrayItfAdapt_ActivateLEDArray %ld", lightMask);
+
+ if(!bCtx || bCtx->ctxId != XALedArrayAdaptation )
+ {
+ DEBUG_ERR("XA_RESULT_PARAMETER_INVALID");
+ return XA_RESULT_PARAMETER_INVALID;
+ }
+
+ DEBUG_INFO("No support > stubbed.");
+ DEBUG_API("<-XALEDArrayItfAdapt_ActivateLEDArray");
+ return ret;
+}
+/*
+ * XAresult XALEDArrayItfAdapt_SetColor ( XAAdaptationBaseCtx *bCtx, XAuint8 index, const XAHSL * pColor )
+ */
+XAresult XALEDArrayItfAdapt_SetColor ( XAAdaptationBaseCtx *bCtx, XAuint8 index, const XAHSL * pColor )
+{
+ XAresult ret = XA_RESULT_SUCCESS;
+ DEBUG_API("->XALEDArrayItfAdapt_SetColor");
+
+ if(!bCtx || bCtx->ctxId != XALedArrayAdaptation )
+ {
+ DEBUG_ERR("XA_RESULT_PARAMETER_INVALID");
+ return XA_RESULT_PARAMETER_INVALID;
+ }
+
+ DEBUG_INFO("No support > stubbed.");
+ DEBUG_API("<-XALEDArrayItfAdapt_SetColor");
+ return ret;
+}