calendarui/regionalplugins/inc/calenlunarlocalizedinfo.h
branchGCC_SURGE
changeset 54 e6894b852bc6
parent 40 4b686cfad39d
parent 53 e08ac1a3ba2b
--- a/calendarui/regionalplugins/inc/calenlunarlocalizedinfo.h	Tue Jun 15 15:22:54 2010 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,82 +0,0 @@
-/*
-* 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 __CALENLUNARLOCALIZEDINFO_H__
-#define __CALENLUNARLOCALIZEDINFO_H__
-
-#include <e32base.h>
-
-class CCalenLunarLocalizer;
-
-class CCalenLunarLocalizedInfo : public CBase
-    {
-public:
-    enum TField
-        {
-        EFestival,
-        ESolarTerm,
-        EFullLunarDate,
-        ELunarYear,
-        ELunarMonthAndDay,
-        EAnimalYear,
-        EGregorianDate
-        };
-        
-
-public: // public API 
-    IMPORT_C static CCalenLunarLocalizedInfo* NewL();
-
-    IMPORT_C virtual ~CCalenLunarLocalizedInfo();
-
-    /**
-     * Get specific field. This is useful, when you have ordered array of TFields 
-     * and you want to process them in a loop.
-     * If day didn't had e.g. festival or solar term, KNullDesC is returned for those.
-     */
-    IMPORT_C const TDesC& GetField( TField aField );
-    
-    const TDesC& Festival() { return iFestival; }
-    const TDesC& SolarTerm() { return iSolarTerm; }
-    const TDesC& FullLunarDate() { return iFullLunarDate; }
-    const TDesC& LunarYear() { return iLunarYear; }    
-    const TDesC& LunarMonthAndDay() { return iLunarMonthAndDay; }    
-    const TDesC& AnimalYear() { return iAnimalYear; }    
-    const TDesC& GregorianDate() { return iGregorianDate; }
-
-private:
-    CCalenLunarLocalizedInfo();
-
-    void ConstructL();
-
-private:
-    
-    TPtrC iFestival;
-    TPtrC iSolarTerm;
-    TPtrC iAnimalYear;
-    
-    TBuf<50> iLunarYear;
-    TBuf<50> iLunarMonthAndDay;
-    TBuf<50> iFullLunarDate;
-    TBuf<50> iGregorianDate;
-private:
-    friend class CCalenLunarLocalizer;
-    friend class CCalenLunarVietnameseLocalizer;
-    };
-
-#endif // __CALENLUNARLOCALIZEDINFO_H__