--- a/meetingrequest/mrgui/inc/cesmrtitlepanehandler.h Mon Mar 15 12:39:10 2010 +0200
+++ b/meetingrequest/mrgui/inc/cesmrtitlepanehandler.h Wed Mar 31 21:08:33 2010 +0300
@@ -1,5 +1,5 @@
/*
-* Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies).
+* Copyright (c) 2009 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"
@@ -11,111 +11,57 @@
*
* Contributors:
*
-* Description: ESMR titlepane handler header
-
- *
+* Description: MR titlepane handler header
+*
*/
-
-
-
#ifndef CESMRTITLEPANEHANDLER_H
-
#define CESMRTITLEPANEHANDLER_H
-
-
// INCLUDES
-
#include <e32base.h>
-
-
// FORWARD DECLARATIONS
-
class CAknTitlePane;
-
class CEikonEnv;
-
-
// CLASS DECLARATIONS
-
NONSHARABLE_CLASS( CESMRTitlePaneHandler ) : public CBase
-
- {
-
- public:
-
- static CESMRTitlePaneHandler* NewL( CEikonEnv& aEnv );
-
- ~CESMRTitlePaneHandler();
-
-
-
- public:
-
- /**
+ {
+ public:
+ static CESMRTitlePaneHandler* NewL( CEikonEnv& aEnv );
+ ~CESMRTitlePaneHandler();
- * Restores the original titlepane text that was saved
-
- * before setting new one into titlepane. If called before
-
- * SetNewTitle() does nothing.
-
- */
-
- void Rollback();
-
-
-
- /**
-
- * Sets new title. If aNewTitle is NULL the titlepane
-
- * default is used.
+ public:
+ /**
+ * Restores the original titlepane text that was saved
+ * before setting new one into titlepane. If called before
+ * SetNewTitle() does nothing.
+ */
+ void Rollback();
- * @param aNewTitle New titlepane text as reference
-
- */
-
- void SetNewTitle( const TDesC* aNewTitle );
-
-
-
- private:
-
- CESMRTitlePaneHandler( CEikonEnv& aEnv );
-
- void ConstructL();
-
-
-
- void SetTitlePaneTextL( const TDesC* aNewTitle );
+ /**
+ * Sets new title. If aNewTitle is NULL the titlepane
+ * default is used.
+ * @param aNewTitle New titlepane text as reference
+ */
+ void SetNewTitle( const TDesC* aNewTitle );
-
-
- private:
-
- // Own: Original title pane text before change
-
- HBufC* iSaveTitlePaneText;
-
- // Ref:
+ private:
+ CESMRTitlePaneHandler( CEikonEnv& aEnv );
+ void ConstructL();
+ void SetTitlePaneTextL( const TDesC* aNewTitle );
- CEikonEnv& iEikEnv;
-
- // Ref:
-
- CAknTitlePane* iTitlePane;
-
- };
-
-
+ private:
+ // Own: Original title pane text before change
+ HBufC* iSaveTitlePaneText;
+ // Ref:
+ CEikonEnv& iEikEnv;
+ // Ref:
+ CAknTitlePane* iTitlePane;
+ };
#endif // CESMRTITLEPANEHANDLER_H
-
-
// End of file