|
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: SVG Implementation source file |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #include "SVGDOMImplementationImpl.h" |
|
20 #include "SVGDocumentImpl.h" |
|
21 |
|
22 |
|
23 // --------------------------------------------------------------------------- |
|
24 // |
|
25 // --------------------------------------------------------------------------- |
|
26 MXmlDocument* CSvgDOMImplementationImpl::CreateDocumentL( const TDesC& /* aNamespaceUri */, |
|
27 const TDesC& /* aQualifiedName*/ /*, |
|
28 CXmlDocumentType* aDocType*/ ) |
|
29 { |
|
30 return ( MXmlDocument * ) CSvgDocumentImpl::NewL(iSvgBitmapFontProvider); |
|
31 } |
|
32 |
|
33 |
|
34 // --------------------------------------------------------------------------- |
|
35 // |
|
36 // --------------------------------------------------------------------------- |
|
37 CSvgDOMImplementationImpl* CSvgDOMImplementationImpl::NewL(CSvgBitmapFontProvider *aSvgBitmapFontProvider) |
|
38 { |
|
39 CSvgDOMImplementationImpl* self = new ( ELeave ) |
|
40 CSvgDOMImplementationImpl(aSvgBitmapFontProvider); |
|
41 CleanupStack::PushL( self ); |
|
42 self->ConstructL(); |
|
43 CleanupStack::Pop(); |
|
44 |
|
45 return self; |
|
46 } |
|
47 |
|
48 // --------------------------------------------------------------------------- |
|
49 // |
|
50 // --------------------------------------------------------------------------- |
|
51 CSvgDOMImplementationImpl* CSvgDOMImplementationImpl::NewLC(CSvgBitmapFontProvider *aSvgBitmapFontProvider) |
|
52 { |
|
53 CSvgDOMImplementationImpl* self = new ( ELeave ) |
|
54 CSvgDOMImplementationImpl(aSvgBitmapFontProvider); |
|
55 CleanupStack::PushL( self ); |
|
56 self->ConstructL(); |
|
57 |
|
58 return self; |
|
59 } |
|
60 |
|
61 // --------------------------------------------------------------------------- |
|
62 // |
|
63 // --------------------------------------------------------------------------- |
|
64 void CSvgDOMImplementationImpl::ConstructL() |
|
65 { |
|
66 } |
|
67 |
|
68 |
|
69 // --------------------------------------------------------------------------- |
|
70 // |
|
71 // --------------------------------------------------------------------------- |
|
72 CSvgDOMImplementationImpl::CSvgDOMImplementationImpl(CSvgBitmapFontProvider *aSvgBitmapFontProvider): iSvgBitmapFontProvider(aSvgBitmapFontProvider) |
|
73 { |
|
74 } |
|
75 |
|
76 |
|
77 // --------------------------------------------------------------------------- |
|
78 // |
|
79 // --------------------------------------------------------------------------- |
|
80 CSvgDOMImplementationImpl::~CSvgDOMImplementationImpl() |
|
81 { |
|
82 } |