calendarengines/versit2/inc/ICalComponent.h
changeset 0 f979ecb2b13e
equal deleted inserted replaced
-1:000000000000 0:f979ecb2b13e
       
     1 #ifndef ICALCOMPONENT_H
       
     2 #define ICALCOMPONENT_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 CICalComponent.
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 
       
    21 // User includes.
       
    22 #include "ICalBase.h"	// CICalBase
       
    23 
       
    24 /**
       
    25 Abstract class of classes representing specific iCalendar components.
       
    26 @publishedPartner
       
    27 */
       
    28 class CICalComponent : public CICalBase
       
    29 	{
       
    30 public:	// Construction/destruction.
       
    31 	~CICalComponent();
       
    32 		
       
    33 	// Factory construction methods for concrete derived classes.
       
    34 	IMPORT_C static CICalComponent* CreateICalComponentL(const TDesC& aName, TICalMethod aMethod);
       
    35 	IMPORT_C static CICalComponent* CreateICalComponentLC(const TDesC& aName, TICalMethod aMethod);
       
    36 		
       
    37 	IMPORT_C static CICalComponent* CreateICalComponentL(CICalBase::TICalComponentType aType, TICalMethod aMethod);
       
    38 	IMPORT_C static CICalComponent* CreateICalComponentLC(CICalBase::TICalComponentType aType, TICalMethod aMethod);
       
    39 		
       
    40 protected:	// Construction.
       
    41 	CICalComponent();	
       
    42 	};
       
    43 	
       
    44 #endif // ICALCOMPONENT_H
       
    45 
       
    46 // End of File