camerauis/activepalette/Src/ActivePalette2Factory.cpp
changeset 19 d9aefe59d544
parent 3 8b2d6d0384b0
child 21 fa6d9f75d6a6
child 28 3075d9b614e6
--- a/camerauis/activepalette/Src/ActivePalette2Factory.cpp	Tue Feb 02 00:01:39 2010 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,75 +0,0 @@
-/*
-* Copyright (c) 2007 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:  Creates concrete implementation of AP*
-*/
-
-
-/**
- * @file ActivePalette2Factory.cpp
- * Creates concrete implementation of AP
- */
-
-#include "ActivePalette2BuildConfig.h"
-
-#ifdef AP2_USE_2D_RENDERING
-#include "ActivePalette2BasicUI.h"
-#endif
-
-#ifdef AP2_USE_3D_RENDERING
-#include "ActivePalette2HUI.h"
-#endif
-
-#include <activepalette2factory.h>
-#include <activepalette2ui.h>
-
-
-// ----------------------------------------------------------------------------
-// ActivePalette2Factory::CreateActivePaletteUIL
-// ----------------------------------------------------------------------------
-#ifdef AP2_USE_2D_RENDERING
-EXPORT_C MActivePalette2UI* ActivePalette2Factory::CreateActivePaletteUIL(TActivePalette2DrawMode aDrawMode)
-    {
-    return CActivePalette2BasicUI::NewL(aDrawMode);
-    }
-#else
-EXPORT_C MActivePalette2UI* ActivePalette2Factory::CreateActivePaletteUIL(TActivePalette2DrawMode /* aDrawMode */ )
-	{
-    User::Leave(KErrNotSupported);
-    return NULL;
-	}
-#endif // AP2_USE_2D_RENDERING    
-
-
-// ----------------------------------------------------------------------------
-// ActivePalette2Factory::CreateHUIActivePaletteUIL
-// ----------------------------------------------------------------------------
-#ifdef AP2_USE_3D_RENDERING
-EXPORT_C MActivePalette2UI* ActivePalette2Factory::CreateHUIActivePaletteUIL(CHuiEnv& aEnv)
-	{
-	return CActivePalette2HUI::NewL(aEnv);
-	}
-#else
-EXPORT_C MActivePalette2UI* ActivePalette2Factory::CreateHUIActivePaletteUIL(CHuiEnv& /* aEnv */ )
-	{
-    User::Leave(KErrNotSupported);
-	return NULL;
-	}
-#endif // AP2_USE_3D_RENDERING
-
-
-EXPORT_C MActivePalette2UI* ActivePalette2Factory::CreateGuiActivePaletteUIL( MGui* /*aGui*/ )
-    {
-    User::Leave(KErrNotSupported);
-    return NULL;
-    }