meetingrequest/mrgui/mrfieldbuilderplugin/inc/cesmrrepeatuntil.h
branchRCL_3
changeset 12 4ce476e64c59
parent 0 8466d47a6819
--- a/meetingrequest/mrgui/mrfieldbuilderplugin/inc/cesmrrepeatuntil.h	Mon Mar 15 12:39:10 2010 +0200
+++ b/meetingrequest/mrgui/mrfieldbuilderplugin/inc/cesmrrepeatuntil.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"
@@ -21,12 +21,11 @@
 
 #include "cesmrfield.h"
 
-#include <AknsControlContext.h>
-
-class CEikLabel;
+class CMRLabel;
 class CEikDateEditor;
 class MESMRFieldValidator;
-class CAknsFrameBackgroundControlContext;
+class CAknsBasicBackgroundControlContext;
+
 
 NONSHARABLE_CLASS( CESMRRepeatUntilField ) : public CESMRField
     {
@@ -44,21 +43,22 @@
     ~CESMRRepeatUntilField();
 
 public: // From CESMRField
-    void InitializeL();
     TBool OkToLoseFocusL( TESMREntryFieldId aNextItem );
     void SetOutlineFocusL( TBool aFocus );
+    void SetValidatorL( MESMRFieldValidator* aValidator );
+    TBool ExecuteGenericCommandL( TInt aCommand );
     
 public: // From CCoeControl
+    TSize MinimumSize();
     TInt CountComponentControls() const;
     CCoeControl* ComponentControl( TInt aInd ) const;
     void SizeChanged();
-    void ActivateL();
-    void PositionChanged();
     TKeyResponse OfferKeyEventL(
             const TKeyEvent& aEvent,
             TEventCode aType );
     void CheckIfValidatingNeededL(
             TInt aStartFieldIndex );
+    void SetContainerWindowL( const CCoeControl& aContainer );
 
 private:
     /**
@@ -72,31 +72,21 @@
      */
     void ConstructL();
 
+    void DoEnvChangeL();
+    
 private:
-    /**
-     * Own. Repeat until field label.
-     */
-    CEikLabel* iLabel;
 
-    /**
-     * Not owned. Repeat until field editor.
-     */
+    // Own. Repeat until field label.
+    CMRLabel* iLabel;
+
+    // Not owned. Repeat until field editor.
     CEikDateEditor* iDate;
 
-    /**
-     * Not owned. Validator object.
-     */
-    MESMRFieldValidator* iValidator;
-
-    /**
-     * Background control context
-     */
-    MAknsControlContext* iBackground;
-
-    /**
-     * Actual background for the editor.
-     */
-    CAknsFrameBackgroundControlContext* iFrameBgContext;
+    // Own. Background control context.
+    CAknsBasicBackgroundControlContext* iBgCtrlContext;
+    
+    /// Ref: Pointer to container window
+    const CCoeControl* iContainerWindow;    
     };
 
 #endif  // CESMRREPEATUNTIL_H