equal
deleted
inserted
replaced
|
1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 #if !defined(__T_VERS_H__) |
|
17 #define __T_VERS_H__ |
|
18 |
|
19 #if !defined(__E32BASE_H__) |
|
20 #include <e32base.h> |
|
21 #endif |
|
22 #include <versit.h> |
|
23 #include <vcard.h> |
|
24 #include <s32stor.h> |
|
25 #include <s32file.h> |
|
26 |
|
27 class CVersitTest : public CBase |
|
28 { |
|
29 public: |
|
30 CVersitTest(); |
|
31 ~CVersitTest(); |
|
32 void StreamInL(); |
|
33 void StreamOutL(); |
|
34 void StreamLCC(RReadStream& aStream, TInt aMode, TInt aContactId); |
|
35 virtual void LoadFileVersitL()=0; |
|
36 void SaveFileVersitL(); |
|
37 virtual void GetSampleVersitL()=0; |
|
38 virtual void GetSampleVersit2L(TInt aContactId)=0; |
|
39 virtual void GetSampleVersit3L()=0; |
|
40 protected: |
|
41 CVersitParser* iParser; |
|
42 CDirectFileStore* iStore; // Store to/Restore from this store |
|
43 TBuf8<10000> iVersit; |
|
44 }; |
|
45 |
|
46 |
|
47 class CVCardTest : public CVersitTest |
|
48 { |
|
49 public: // framework |
|
50 void LoadFileVersitL(); |
|
51 void SaveFileVersitL(); |
|
52 void GetSampleVersitL(); |
|
53 void GetSampleVersit2L(TInt aContactId); |
|
54 void GetSampleVersit3L(); |
|
55 }; |
|
56 |
|
57 |
|
58 |
|
59 #endif |
|
60 |