|
1 /* |
|
2 * Copyright (c) 2005-2009 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: |
|
15 * TSLBTransaltor class |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 /** |
|
21 |
|
22 @param aTextWriter A reference to MTextWriter implementation, used for the output. |
|
23 */ |
|
24 inline TSLBTransaltor::TSLBTransaltor(MTextWriter& aTextWriter) : |
|
25 iTextWriter(aTextWriter), |
|
26 iPrevChar(0) |
|
27 { |
|
28 } |
|
29 |
|
30 ////////////////////////////////////////////////////////////////////////////////////////////// |
|
31 ////////////////////////////////////////////////////////////////////////////////////////////// |
|
32 // TParagraphTextWriter class |
|
33 |
|
34 /** |
|
35 @param aOutputChar A reference to MOutputChar implementation, used for the output. |
|
36 */ |
|
37 inline TParagraphTextWriter::TParagraphTextWriter(MOutputChar& aOutputChar) : |
|
38 iOutputChar(aOutputChar) |
|
39 { |
|
40 } |
|
41 |
|
42 ////////////////////////////////////////////////////////////////////////////////////////////// |
|
43 ////////////////////////////////////////////////////////////////////////////////////////////// |
|
44 // TLineTextWriter class |
|
45 |
|
46 /** |
|
47 @param aOutputChar A reference to MOutputChar implementation, used for the output. |
|
48 */ |
|
49 inline TLineTextWriter::TLineTextWriter(MOutputChar& aOutputChar) : |
|
50 iOutputChar(aOutputChar), |
|
51 iPrevChar(0) |
|
52 { |
|
53 } |