equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2005 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: Holds the definition of CESMRICalContentLineWriter. |
|
15 * |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 #ifndef CESMRICALCONTENTLINEWRITER_H |
|
21 #define CESMRICALCONTENTLINEWRITER_H |
|
22 |
|
23 |
|
24 // System includes. |
|
25 #include <e32base.h> // CBase |
|
26 |
|
27 // Forward declarations. |
|
28 class RWriteStream; |
|
29 |
|
30 /** |
|
31 Class for writing out content lines to a stream. |
|
32 @internalTechnology |
|
33 */ |
|
34 class CESMRICalContentLineWriter : public CBase |
|
35 { |
|
36 public: // Construction/destruction. |
|
37 static CESMRICalContentLineWriter* NewL(RWriteStream& aStream); |
|
38 static CESMRICalContentLineWriter* NewLC(RWriteStream& aStream); |
|
39 ~CESMRICalContentLineWriter(); |
|
40 |
|
41 public: // Methods. |
|
42 void WriteContentLineL(); |
|
43 void AppendL(const TDesC& aLine); |
|
44 void AppendL(const TChar& aCharacter); |
|
45 |
|
46 private: // Construction. |
|
47 CESMRICalContentLineWriter(RWriteStream& aStream); |
|
48 void ConstructL(); |
|
49 |
|
50 private: // Attributes. |
|
51 RWriteStream& iWriteStream; |
|
52 HBufC* iCurrentLine; |
|
53 }; |
|
54 |
|
55 #endif // CESMRICALCONTENTLINEWRITER_H |
|
56 |
|
57 // End of File |