diff -r 000000000000 -r f979ecb2b13e calendarengines/versit2/inc/ICal.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/calendarengines/versit2/inc/ICal.h Tue Feb 02 10:12:19 2010 +0200 @@ -0,0 +1,53 @@ +#ifndef ICAL_H +#define ICAL_H/* +* Copyright (c) 2005 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: Holds the definiton of CICal. +* +*/ + + + +// User includes. +#include "ICalBase.h" // CICalBase + +// Forward declaration. +class RWriteStream; + +/** +Class representing a VCALENDAR component. +@publishedPartner +*/ +class CICal : public CICalBase + { +public: // Construction/destruction. + IMPORT_C static CICal* NewL(); + IMPORT_C static CICal* NewLC(); + ~CICal(); + +public: // Methods. + IMPORT_C void ExternalizeL(RWriteStream& aWriteStream); + IMPORT_C void SetMethodL(TICalMethod aMethod); + +private: // Construction. + CICal(); + void ConstructL(); + +private: // From CICalBase. + TBool ValidatePropertyImpl(const TDesC& aName) const; + TBool ValidateComponent(TICalComponentType aType) const; + }; + +#endif // ICAL_H + +// End of File