lafagnosticuifoundation/bmpanimation/src/bmpansd.cpp
changeset 0 2f259fa3e83a
equal deleted inserted replaced
-1:000000000000 0:2f259fa3e83a
       
     1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 #include "bmpansrv.h"
       
    17 
       
    18 // put the uids in the WINS builds
       
    19 
       
    20 // the only exported function in the DLL
       
    21 
       
    22 
       
    23 IMPORT_C CAnimDll* CreateCAnimDllL();
       
    24 EXPORT_C CAnimDll* CreateCAnimDllL()
       
    25 	{
       
    26 	return new(ELeave) CBitmapAnimDll;
       
    27 	}
       
    28 
       
    29 // global functions
       
    30 
       
    31 const TInt KPanicClientFromServer=1;
       
    32 
       
    33 
       
    34 
       
    35 GLDEF_C void Panic(TBitmapAnimServerPanic aReason)
       
    36 	{
       
    37 	_LIT(KPanicAnimationServer,"Animation-server");
       
    38 	User::Panic(KPanicAnimationServer, aReason);
       
    39 	}
       
    40 
       
    41 GLDEF_C void PanicClientFromServer()
       
    42 	{
       
    43 	User::Leave(KPanicClientFromServer);
       
    44 	}
       
    45 
       
    46 
       
    47 // CBitmapAnimDll
       
    48 
       
    49 CBitmapAnimDll::CBitmapAnimDll()
       
    50 	{
       
    51 	}
       
    52 
       
    53 CAnim* CBitmapAnimDll::CreateInstanceL(TInt /*aType*/)
       
    54 	{
       
    55 	return CBitmapAnim::NewL();
       
    56 	}
       
    57