diff -r f979ecb2b13e -r c198609911f9 calendarui/regionalplugins/inc/calenlunarinfoprovider.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/calendarui/regionalplugins/inc/calenlunarinfoprovider.h Fri Apr 16 14:57:40 2010 +0300 @@ -0,0 +1,50 @@ +/* +* Copyright (c) 2008 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: Calendar Lunar Plugin + * +*/ + + + +#ifndef __CALENLUNARINFOPROVIDER_H__ +#define __CALENLUNARINFOPROVIDER_H__ + +#include "CalenLunarInfo.h" +#include + + +class CChineseCalendarConverter; +class CCalenSolarTerms; +class RFs; + +class CCalenLunarInfoProvider : public CBase + { +public: // public API + IMPORT_C static CCalenLunarInfoProvider* NewL(RFs& aFs); + + IMPORT_C virtual ~CCalenLunarInfoProvider(); + + IMPORT_C TCalenLunarInfo GetLunarInfoL( const TTime& aDay ); + +private: // own methods + CCalenLunarInfoProvider(); + void ConstructL(RFs& aFs); + +private: // data + CChineseCalendarConverter* iConverter; + CCalenSolarTerms* iSolarTerms; + + }; + +#endif // __CALENLUNARINFOPROVIDER_H__