calendarui/regionalplugins/inc/calenlunarinfoprovider.h
branchGCC_SURGE
changeset 54 e6894b852bc6
parent 40 4b686cfad39d
parent 53 e08ac1a3ba2b
equal deleted inserted replaced
40:4b686cfad39d 54:e6894b852bc6
     1 /*
       
     2 * Copyright (c) 2008 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:   Calendar Lunar Plugin 
       
    15  *
       
    16 */
       
    17 
       
    18 
       
    19  
       
    20 #ifndef __CALENLUNARINFOPROVIDER_H__
       
    21 #define __CALENLUNARINFOPROVIDER_H__
       
    22 
       
    23 #include "CalenLunarInfo.h"
       
    24 #include <e32base.h>
       
    25 
       
    26 
       
    27 class CChineseCalendarConverter;
       
    28 class CCalenSolarTerms;
       
    29 class RFs;
       
    30 
       
    31 class CCalenLunarInfoProvider : public CBase
       
    32     {
       
    33 public: // public API 
       
    34     IMPORT_C static CCalenLunarInfoProvider* NewL(RFs& aFs);
       
    35 
       
    36     IMPORT_C virtual ~CCalenLunarInfoProvider();
       
    37 
       
    38     IMPORT_C TCalenLunarInfo GetLunarInfoL( const TTime& aDay );
       
    39 
       
    40 private: // own methods
       
    41     CCalenLunarInfoProvider();
       
    42     void ConstructL(RFs& aFs);
       
    43 
       
    44 private: // data
       
    45     CChineseCalendarConverter* iConverter;
       
    46     CCalenSolarTerms* iSolarTerms;
       
    47 
       
    48     };
       
    49 
       
    50 #endif // __CALENLUNARINFOPROVIDER_H__