calendarui/commonutils/inc/CalenStatusPaneUtilsImpl.h
changeset 0 f979ecb2b13e
child 48 bf573002ff72
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/calendarui/commonutils/inc/CalenStatusPaneUtilsImpl.h	Tue Feb 02 10:12:19 2010 +0200
@@ -0,0 +1,71 @@
+/*
+* Copyright (c) 2002, 2003 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:  
+ *
+*/
+
+
+// CLASS DECLARATION
+#include <badesca.h>
+#include <calenconstants.h>
+
+// Forward declaration
+class CAknNavigationControlContainer;
+class CEikStatusPane;
+class CAknNavigationDecorator;
+class CCalenTitlePane;
+
+NONSHARABLE_CLASS( CCalenStatusPaneUtilsImpl ) : public CBase
+    {
+    public: // Constructor and destructor
+        static CCalenStatusPaneUtilsImpl* NewL( CEikStatusPane* aStatusPane );
+        virtual ~CCalenStatusPaneUtilsImpl();
+
+    public:
+        void SetTitleTextL( TDes& aText );
+        
+        void SetTitleText( HBufC* aText );
+        
+        void UnderLineTitleText( TBool aUnderline );
+        
+        CAknNavigationDecorator* ShowNaviPaneL( const TTime& aActiveDay );
+
+        void HideNaviPane();
+        
+        void MonthNameByActiveTime( TDes& name, const TTime& aTime );
+        
+        void DayNameByActiveTime( TDes& name, const TTime& aTime );
+        
+        HBufC* WeekNameByActiveTimeL( const TTime& aTime, TDay aDayFormat, TCalenWeekTitle aType );
+
+        void RefreshStatusPane();
+    private:
+        CCalenStatusPaneUtilsImpl( CEikStatusPane* aStatusPane );
+        void ConstructL();
+            
+    private: //DATA
+        CEikStatusPane* iStatusPane;   // not own
+        CCalenTitlePane* iTitlePane;  // not own
+        CAknNavigationControlContainer* iNaviContainer; // not own
+        CAknNavigationDecorator* iNaviLabel; // own
+        
+        HBufC* iNoYearDateFormat;      // own
+        HBufC* iShortDateFormat;        // own
+        HBufC* iLongDateFormat;         // own
+        CDesCArrayFlat* iMonthArray;   // own
+        CDesCArrayFlat* iDayNameArray; // own
+    };
+
+//end of file
+