diff -r 000000000000 -r f979ecb2b13e pimappsupport/vcardandvcal/tsrc/TVERSIT.H --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pimappsupport/vcardandvcal/tsrc/TVERSIT.H Tue Feb 02 10:12:19 2010 +0200 @@ -0,0 +1,60 @@ +// Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies). +// All rights reserved. +// This component and the accompanying materials are made available +// under the terms of "Eclipse Public License v1.0" +// which accompanies this distribution, and is available +// at the URL "http://www.eclipse.org/legal/epl-v10.html". +// +// Initial Contributors: +// Nokia Corporation - initial contribution. +// +// Contributors: +// +// Description: +// + +#if !defined(__TVERSIT_H__) +#define __TVERSIT_H__ + +#include +#include +#include +#include +#include + +class CVersitTest : public CBase + { +public: + CVersitTest(); + ~CVersitTest(); + void StreamInL(); + void StreamOutL(); + virtual void LoadFileVersitL()=0; + void SaveFileVersitL(Versit::TVersitCharSet aDefaultCharSet = Versit::EUSAsciiCharSet); + virtual void GetSampleVersitL()=0; + virtual void BuildVersitL()=0; + void CheckIsValidLabelL(); +public: + CVersitParser* iParser; +protected: + CDirectFileStore* iStore; // Store to/Restore from this store + TBuf8<10000> iVersit; + }; + +class CVCalTest : public CVersitTest + { +public: // framework + void LoadFileVersitL(); + void GetSampleVersitL(); + void BuildVersitL(); + }; + +class CVCardTest : public CVersitTest + { +public: // framework + void LoadFileVersitL(); + void GetSampleVersitL(); + void BuildVersitL(); + }; + +#endif