pimappsupport/chinesecalendarconverter/inc/calendarconverterplugin.h
changeset 0 f979ecb2b13e
equal deleted inserted replaced
-1:000000000000 0:f979ecb2b13e
       
     1 // Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 #ifndef __CALENDARCONVERTERPLUGIN_H__
       
    17 #define __CALENDARCONVERTERPLUGIN_H__
       
    18 
       
    19 #include <calendarconverter.h>
       
    20 #include <ecom/ecom.h> 
       
    21 
       
    22 /**
       
    23 The UID of the calendar converter ECom plugin interface.
       
    24 @publishedPartner
       
    25 @released
       
    26 */
       
    27 const TUid KUidEcomChineseCalendarConverterInterface = { 0x1028702B };
       
    28 
       
    29 /**
       
    30 @publishedPartner
       
    31 @released
       
    32 */
       
    33 class CChineseCalendarConverterEcomPlugin : public CChineseCalendarConverter
       
    34 	{
       
    35 public:
       
    36 	static CChineseCalendarConverter* NewL();	
       
    37 
       
    38 protected:
       
    39 	inline virtual ~CChineseCalendarConverterEcomPlugin();
       
    40 
       
    41 private:
       
    42 	TUid iDtor_ID_Key; 
       
    43 	};
       
    44 
       
    45 /**
       
    46 The destruction of the interface implementation referred to by iDtor_ID_Key 
       
    47 @publishedPartner
       
    48 @released
       
    49 */
       
    50 inline CChineseCalendarConverterEcomPlugin::~CChineseCalendarConverterEcomPlugin()
       
    51 	{
       
    52 	REComSession::DestroyedImplementation(iDtor_ID_Key);
       
    53 	}
       
    54 
       
    55 #endif