calendarengines/versit2/inc/ICalParser.h
changeset 0 f979ecb2b13e
equal deleted inserted replaced
-1:000000000000 0:f979ecb2b13e
       
     1 #ifndef ICAL_PARSER_H
       
     2 #define ICAL_PARSER_H/*
       
     3 * Copyright (c) 2005 Nokia Corporation and/or its subsidiary(-ies).
       
     4 * All rights reserved.
       
     5 * This component and the accompanying materials are made available
       
     6 * under the terms of "Eclipse Public License v1.0"
       
     7 * which accompanies this distribution, and is available
       
     8 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     9 *
       
    10 * Initial Contributors:
       
    11 * Nokia Corporation - initial contribution.
       
    12 *
       
    13 * Contributors:
       
    14 *
       
    15 * Description:   Holds the definition of CICalParser.
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 
       
    21 // System includes.
       
    22 #include <e32base.h>	// CBase
       
    23 
       
    24 // Forward declarations.
       
    25 class CICal;
       
    26 
       
    27 /**
       
    28 Directs parsing of iCalendar streams.
       
    29 @publishedPartner
       
    30 */
       
    31 class CICalParser : public CBase
       
    32 	{
       
    33 public:	// Construction/destruction.
       
    34 	IMPORT_C static CICalParser* NewL();
       
    35 	IMPORT_C static CICalParser* NewLC();
       
    36 	~CICalParser();
       
    37 	
       
    38 public:	// Methods.
       
    39 	IMPORT_C void InternalizeL(RReadStream& aReadStream);
       
    40 	IMPORT_C TInt CalCount() const;
       
    41 	IMPORT_C CICal& Cal(TInt aIndex);
       
    42 	
       
    43 private:	// Construction.
       
    44 	CICalParser();
       
    45 	void ConstructL();
       
    46 
       
    47 private:	// Attributes.
       
    48 	RPointerArray<CICal> iCals;	
       
    49 	};
       
    50 	
       
    51 #endif //ICAL_PARSER_H
       
    52 
       
    53 // End of File