photosgallery/slideshow/engine/coresrc/enginedllmain.cpp
changeset 0 4e91876724a2
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/photosgallery/slideshow/engine/coresrc/enginedllmain.cpp	Thu Dec 17 08:45:44 2009 +0200
@@ -0,0 +1,40 @@
+/*
+* Copyright (c) 2007-2008 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:   Slideshow engine DLL
+ *
+*/
+
+
+
+
+//  Include Files
+
+#include <e32std.h>         // User::Panic
+#include "shwslideshowenginepanic.h"       // panic codes
+
+//  Global Functions
+
+// -----------------------------------------------------------------------------
+// Panics the thread with given panic code
+// -----------------------------------------------------------------------------
+namespace NShwEngine
+	{
+	extern void Panic( TShwEnginePanic aPanic )
+	    {
+	    _LIT( KEnginePanicName, "ShwEngine" );
+	    User::Panic( KEnginePanicName, aPanic );
+	    }
+	}
+
+