calendarui/regionalplugins/KoreanLunar/inc/CalenLunarInfoProvider.h
branchRCL_3
changeset 31 97232defd20e
equal deleted inserted replaced
30:bd7edf625bdd 31:97232defd20e
       
     1 /*
       
     2 * Copyright (c) 2002-2004 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 : Class looking after alarm fields for forms.
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef __CALENLUNARINFOPROVIDER_H__
       
    19 #define __CALENLUNARINFOPROVIDER_H__
       
    20 
       
    21 // INCLUDES
       
    22 #include "CalenLunarInfo.h"
       
    23 #include <e32base.h>
       
    24 
       
    25 // FORWARD DECLARATION
       
    26 class CKoreanCalConv;
       
    27 class CCalenSolarTerms;
       
    28 class RFs;
       
    29 
       
    30 /**
       
    31 * Class declaration for Lunar info provider
       
    32 */ 
       
    33 class CCalenLunarInfoProvider : public CBase
       
    34     {
       
    35 public: // public API 
       
    36     static CCalenLunarInfoProvider* NewL(RFs& aFs);
       
    37 
       
    38     virtual ~CCalenLunarInfoProvider();
       
    39 
       
    40     TCalenLunarInfo GetLunarInfoL( const TTime& aDay );
       
    41 
       
    42 private: // own methods
       
    43     CCalenLunarInfoProvider();
       
    44     void ConstructL(RFs& aFs);
       
    45 
       
    46 private: // data
       
    47     CKoreanCalConv* iConverter;
       
    48     CCalenSolarTerms* iSolarTerms;
       
    49 
       
    50     };
       
    51 
       
    52 #endif // __CALENLUNARINFOPROVIDER_H__