--- a/meetingrequest/mrgui/mrfieldbuilderplugin/inc/cesmrvieweralarmtimefield.h Mon Mar 15 12:39:10 2010 +0200
+++ b/meetingrequest/mrgui/mrfieldbuilderplugin/inc/cesmrvieweralarmtimefield.h Wed Mar 31 21:08:33 2010 +0300
@@ -1,5 +1,5 @@
/*
-* Copyright (c) 2007-2009 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,7 +11,7 @@
*
* Contributors:
*
-* Description: ESMR viewer alarm field for CESMRListComponent
+* Description: ESMR viewer alarm field.
*
*/
@@ -19,10 +19,12 @@
#ifndef CESMRVIEWERALARMTIMEFIELD_H
#define CESMRVIEWERALARMTIMEFIELD_H
-// INCLUDES
+#include <eikrted.h>
+#include <eikedwob.h>
+
#include "cesmrfield.h"
-// FORWARD DECLARATIONS
+// Forward declarations
class CMRImage;
class CMRLabel;
@@ -46,23 +48,29 @@
public: // From CESMRField
void InternalizeL( MESMRCalEntry& aEntry );
- void InitializeL();
void SetOutlineFocusL( TBool aFocus );
-
+ TBool ExecuteGenericCommandL( TInt aCommand );
+ void LockL();
+
public: // From CCoeControl
void SizeChanged();
TInt CountComponentControls() const;
CCoeControl* ComponentControl( TInt aIndex ) const;
-
+
private: // Implementation
CESMRViewerAlarmTimeField();
void ConstructL();
+ void FormatAlarmTimeL();
-private:
- // Owned: Field icon
+private: // data
+ // Own: Field icon
CMRImage* iIcon;
- // Owned: Field text label
+ /// Own: lock icon
+ CMRImage* iLockIcon;
+ // Ref: Field text label
CMRLabel* iLabel;
+ /// Own: Alarm time
+ TTime iAlarmTime;
};
#endif // CESMRVIEWERALARMTIMEFIELD_H