svgtopt/VGRenderer/SWVG/inc/SWOpenVGRendererImpl.h
changeset 0 d46562c3d99d
equal deleted inserted replaced
-1:000000000000 0:d46562c3d99d
       
     1 /*
       
     2 * Copyright (c) 2003 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:  CSWOpenVGRendererImpl header file
       
    15  *
       
    16 */
       
    17 
       
    18 #ifndef __SWVGRENDERER_H__
       
    19 #define __SWVGRENDERER_H__
       
    20 
       
    21 #include "SWVG.h"
       
    22 #include "OpenVGRenderer.h"
       
    23 
       
    24 
       
    25 class CSWOpenVGRendererImpl : public COpenVGRenderer
       
    26     {
       
    27     static const TUint KMAJOR_VERSION;
       
    28     static const TUint KMINOR_VERSION;
       
    29     static const TUint KBUILD_VERSION;
       
    30 public:
       
    31     static CSWOpenVGRendererImpl* NewL();
       
    32     static CSWOpenVGRendererImpl* NewLC();
       
    33     ~CSWOpenVGRendererImpl();
       
    34 
       
    35 public:
       
    36     TVersion Version() const;
       
    37     virtual TVersion GetVersion() const;
       
    38     virtual const TDesC GetName() const;
       
    39     
       
    40 public:
       
    41 
       
    42     virtual void ToggleReset();
       
    43     
       
    44     virtual MVGSurfaceImpl* CreateVGSurfaceL(TInt aOption);
       
    45 
       
    46 private:
       
    47     CSWOpenVGRendererImpl();
       
    48     void ConstructL();
       
    49    };
       
    50 
       
    51 #endif
       
    52