00001 // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies). 00002 // All rights reserved. 00003 // This component and the accompanying materials are made available 00004 // under the terms of "Eclipse Public License v1.0" 00005 // which accompanies this distribution, and is available 00006 // at the URL "http://www.eclipse.org/legal/epl-v10.html". 00007 // 00008 // Initial Contributors: 00009 // Nokia Corporation - initial contribution. 00010 // 00011 // Contributors: 00012 // 00013 // Description: 00014 // 00015 00016 #if (!defined __VERSITEXAMPLE_H__) 00017 #define __VERSITEXAMPLE_H__ 00018 00019 #include <vcard.h> 00020 #include <versit.h> 00021 00022 class CExampleVersit : public CBase 00023 { 00024 public: 00025 static CExampleVersit* NewL(); 00026 void EgVersitL(); 00027 ~CExampleVersit(); 00028 00029 private: 00030 void ConstructL(); 00031 void ExternalizeToFileL(const TDesC& aFile); 00032 void InternalizeFromFileL(RFile& aFile); 00033 void CreateAndExternalizeVCardL(); 00034 void InternalizeVCardL(); 00035 00036 private: 00037 CVersitParser* iParser; 00038 RFs iFsSession; 00039 }; 00040 #endif /* __VERSITEXAMPLE_H__ */
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.