uifw/AvKon/inc/AknAdaptiveSearchGrid.h
branchRCL_3
changeset 19 aecbbf00d063
parent 6 9f56a4e1b8ab
child 20 d48ab3b357f1
--- a/uifw/AvKon/inc/AknAdaptiveSearchGrid.h	Thu Aug 19 10:11:06 2010 +0300
+++ b/uifw/AvKon/inc/AknAdaptiveSearchGrid.h	Tue Aug 31 15:28:30 2010 +0300
@@ -100,6 +100,15 @@
          */
          void HandleResourceChange( TInt aType );
                 
+        /**
+         * From CCoeControl.
+         * Retrieves an object of the same type as that encapsulated in aId.
+         *
+         * @param aId An encapsulated object type ID.
+         * @return Encapsulated pointer to the object provided. 
+         *      Note that the encapsulated pointer may be NULL.
+         */
+         TTypeUid::Ptr MopSupplyObject( TTypeUid aId );
                  
         /**
          * From MCoeControlObserver.
@@ -191,6 +200,12 @@
          */
 	 	 void SetButtonGridChars( const TDesC& aGridChars );
 		
+		/**
+		 * Sets text into search field.
+		 * 		 
+		 * @param const aSearchTxt Reference to the text buffer.
+         */            
+	     void SetSearchTextToFindPane( const TDesC& aSearchTxt );
 		
 		/**
          * Initiates buttons for adaptive search grid        
@@ -219,14 +234,6 @@
          
          static const TInt EDeleteLastCharPressed = -1;
 		 static const TInt ECloseGridPressed = -2;  
-		 
-    public:
-		 
-		/**
-		 * When the rect of find pane is set, this functions will be notified
-         * to record the size of it.
-		 */
-		void SaveFindPaneRect( const TRect &aRect );
   
     protected: // From base class
   
@@ -348,6 +355,9 @@
         CEikEdwin* iEditor;         
         TInt iTextLimit;     
 	    
+	    // skin context for find pane
+   	    CAknsListBoxBackgroundControlContext* iSkinContextOfFindPane;   	
+   	    CAknsFrameBackgroundControlContext* iBgContextOfFindPane; 
    	    	    	       	    
    	    // contex for control pane   
    	    CAknsBasicBackgroundControlContext* iBgContextOfControlPane;    	     
@@ -406,10 +416,6 @@
         TBool iPopupFindpane;
         // The length of overlap section 
         TInt iOverlapLength;
-        
-        TRect iFindpaneRect;
-        
-        TBool iFindPaneSizeChanged;
 
     };