equal
deleted
inserted
replaced
|
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: Plug-in |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef __TBCARDVERSITPLUGIN_H__ |
|
20 #define __TBCARDVERSITPLUGIN_H__ |
|
21 |
|
22 // INCLUDES |
|
23 #include <vobserv.h> |
|
24 |
|
25 // CLASS DECLARATION |
|
26 |
|
27 NONSHARABLE_CLASS(TBCardVersitPlugin) : public MVersitPlugIn |
|
28 { |
|
29 public: // Interface |
|
30 /** |
|
31 * Default constructor. |
|
32 */ |
|
33 TBCardVersitPlugin(); |
|
34 |
|
35 public: // from MVersitPlugIn |
|
36 TBool AddSpace(); |
|
37 TBool DeleteAllSpaces(); |
|
38 TBool NeedsBlankLine(); |
|
39 void RemoveEscaping(TPtr16& aText); |
|
40 void AddEscaping(HBufC16*& aText); |
|
41 TBool WrapLine(RWriteStream& aStream,TInt& aCurrentLineLength,const TPtr8& aText); |
|
42 TBool EncodingType( |
|
43 Versit::TVersitEncoding& aEncoding, |
|
44 TBool aRequiresEncoding, |
|
45 Versit::TVersitEncoding aDefaultEncoding, |
|
46 TUid aPropertyUid, |
|
47 TUint aPropertyCharsetId); |
|
48 const TDesC8& EncodingName(Versit::TVersitEncoding aEncoding); |
|
49 |
|
50 }; |
|
51 |
|
52 #endif // __TBCARDVERSITPLUGIN_H__ |
|
53 |
|
54 // End of File |