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