uigraphics/AknIcon/SvgtFbsRasterizer/src/svgtgraphicsinterface.cpp
changeset 0 05e9090e2422
equal deleted inserted replaced
-1:000000000000 0:05e9090e2422
       
     1 /*
       
     2 * Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:   CSvgtGraphicsInterface implementation.
       
    15 *
       
    16 */
       
    17 
       
    18 #include "svgtgraphicsinterface.h"
       
    19 #ifdef _EGL_SUPPORT_ENABLED_
       
    20 #include "eglgraphicsinterface.h"
       
    21 #else
       
    22 #include "vgigraphicsinterface.h"
       
    23 #endif
       
    24 
       
    25 CSvgtGraphicsInterface * CSvgtGraphicsInterface::CreateImplementationL()
       
    26     {
       
    27 #ifndef _EGL_SUPPORT_ENABLED_
       
    28     return new (ELeave) CVGIGraphicsInterface();
       
    29 #else
       
    30     return new (ELeave) CEGLGraphicsInterface();
       
    31 #endif
       
    32     }