photosgallery/viewframework/views/metadatadialog/inc/glxmetadatadialog.h
branchRCL_3
changeset 24 ea65f74e6de4
parent 12 ce1c7ad1f18b
equal deleted inserted replaced
23:b023a8d2866a 24:ea65f74e6de4
   125     *
   125     *
   126     * @param aMenuId    Current menu's resource Id
   126     * @param aMenuId    Current menu's resource Id
   127     * @param aMenuPane  Pointer to menupane
   127     * @param aMenuPane  Pointer to menupane
   128     */
   128     */
   129     void DynInitMenuPaneL(TInt aMenuId, CEikMenuPane* aMenuPane);
   129     void DynInitMenuPaneL(TInt aMenuId, CEikMenuPane* aMenuPane);
   130 		//hanldes orientation changes.
       
   131     void HandleResourceChange( TInt aType );
       
   132     void SizeChanged();
       
   133 
   130 
   134 private:        
   131 private:        
   135 		/**
       
   136 		* Initializes the dialog's controls before the dialog is sized and 
       
   137 		* layed out. Empty by default.
       
   138 		*/
       
   139 		void PreLayoutDynInitL();
       
   140 		
       
   141 		/**
   132 		/**
   142 		 * Initializes the dialog's controls after the dialog has been sized 
   133 		 * Initializes the dialog's controls after the dialog has been sized 
   143 		 * but before it has been activated.
   134 		 * but before it has been activated.
   144 		 */
   135 		 */
   145 		void PostLayoutDynInitL();
   136 		void PostLayoutDynInitL();
   149 		* @param aURI
   140 		* @param aURI
   150 		*/
   141 		*/
   151 		void ConstructL();
   142 		void ConstructL();
   152 		
   143 		
   153 		/**
   144 		/**
   154 		 * Constructs the Alf Environment and display
       
   155 		 */
       
   156 		void ConstructAlfEnvL();
       
   157 		
       
   158 		/**
       
   159 		* Initalise the resource
   145 		* Initalise the resource
   160 		*
   146 		*
   161 		*/
   147 		*/
   162 		void InitResourceL();   
   148 		void InitResourceL();   
   163 		
   149 		
   175 		*
   161 		*
   176 		*/
   162 		*/
   177 		MGlxMediaList& MediaList();
   163 		MGlxMediaList& MediaList();
   178         
   164         
   179 private:
   165 private:
   180 
       
   181 		void Draw( const TRect& /*aRect*/ ) const;    
       
   182 		void HandlePointerEventL(const TPointerEvent& aPointerEvent);   	
   166 		void HandlePointerEventL(const TPointerEvent& aPointerEvent);   	
   183 		/**
   167 		/**
   184 		* SetTitleL
   168 		* SetTitleL
   185 		* Sets title for view
   169 		* Sets title for view
   186 		* @param aTitleText title of view to be set
   170 		* @param aTitleText title of view to be set
   189 		/**
   173 		/**
   190 		* SetPreviousTitleL
   174 		* SetPreviousTitleL
   191 		* Sets title of previous view
   175 		* Sets title of previous view
   192 		*/
   176 		*/
   193 		void SetPreviousTitleL();
   177 		void SetPreviousTitleL();
   194 			/**
   178 
   195 		* Find out the items nature to set the corresponding options
   179 		/** 
   196 		*/
   180 		* Sets the dialog toolbar visibility
   197 		void OnLocationEditL();
   181 		* @param aVisible - ETrue for visible; EFalse otherwise.
   198 		void AddTagL();
   182 		*/
   199 		void AddAlbumL();    
       
   200 		void SetDetailsDlgToolbarVisibility(TBool aVisible);
   183 		void SetDetailsDlgToolbarVisibility(TBool aVisible);
   201 		
   184 
       
   185 public:
       
   186     // from MGlxMetadataDialogObserver	
       
   187     /**
       
   188      * Find out the items nature to set the corresponding options
       
   189      */
       
   190     void OnLocationEditL();
       
   191     void AddTagL();
       
   192     void AddAlbumL();
       
   193     void HandleItemRemovedL();
       
   194 
   202 public: // from MEikDialogPageObserver
   195 public: // from MEikDialogPageObserver
   203     /**
   196     /**
   204     * @ref MEikDialogPageObserver::CreateCustomControlL
   197     * @ref MEikDialogPageObserver::CreateCustomControlL
   205     */
   198     */
   206     SEikControlInfo CreateCustomControlL(TInt aControlType);
   199     SEikControlInfo CreateCustomControlL(TInt aControlType);