photosgallery/viewframework/views/metadatadialog/inc/glxmetadatadialog.h
branchRCL_3
changeset 75 01504893d9cb
parent 60 5b3385a43d68
equal deleted inserted replaced
68:5b238bc8ffb6 75:01504893d9cb
   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();
   130 
   133 
   131 private:        
   134 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 		
   132 		/**
   141 		/**
   133 		 * Initializes the dialog's controls after the dialog has been sized 
   142 		 * Initializes the dialog's controls after the dialog has been sized 
   134 		 * but before it has been activated.
   143 		 * but before it has been activated.
   135 		 */
   144 		 */
   136 		void PostLayoutDynInitL();
   145 		void PostLayoutDynInitL();
   140 		* @param aURI
   149 		* @param aURI
   141 		*/
   150 		*/
   142 		void ConstructL();
   151 		void ConstructL();
   143 		
   152 		
   144 		/**
   153 		/**
       
   154 		 * Constructs the Alf Environment and display
       
   155 		 */
       
   156 		void ConstructAlfEnvL();
       
   157 		
       
   158 		/**
   145 		* Initalise the resource
   159 		* Initalise the resource
   146 		*
   160 		*
   147 		*/
   161 		*/
   148 		void InitResourceL();   
   162 		void InitResourceL();   
   149 		
   163 		
   161 		*
   175 		*
   162 		*/
   176 		*/
   163 		MGlxMediaList& MediaList();
   177 		MGlxMediaList& MediaList();
   164         
   178         
   165 private:
   179 private:
       
   180 
       
   181 		void Draw( const TRect& /*aRect*/ ) const;    
   166 		void HandlePointerEventL(const TPointerEvent& aPointerEvent);   	
   182 		void HandlePointerEventL(const TPointerEvent& aPointerEvent);   	
   167 		/**
   183 		/**
   168 		* SetTitleL
   184 		* SetTitleL
   169 		* Sets title for view
   185 		* Sets title for view
   170 		* @param aTitleText title of view to be set
   186 		* @param aTitleText title of view to be set
   173 		/**
   189 		/**
   174 		* SetPreviousTitleL
   190 		* SetPreviousTitleL
   175 		* Sets title of previous view
   191 		* Sets title of previous view
   176 		*/
   192 		*/
   177 		void SetPreviousTitleL();
   193 		void SetPreviousTitleL();
   178 
   194 			/**
   179 		/** 
   195 		* Find out the items nature to set the corresponding options
   180 		* Sets the dialog toolbar visibility
   196 		*/
   181 		* @param aVisible - ETrue for visible; EFalse otherwise.
   197 		void OnLocationEditL();
   182 		*/
   198 		void AddTagL();
       
   199 		void AddAlbumL();    
   183 		void SetDetailsDlgToolbarVisibility(TBool aVisible);
   200 		void SetDetailsDlgToolbarVisibility(TBool aVisible);
   184 
   201 		
   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 
       
   195 public: // from MEikDialogPageObserver
   202 public: // from MEikDialogPageObserver
   196     /**
   203     /**
   197     * @ref MEikDialogPageObserver::CreateCustomControlL
   204     * @ref MEikDialogPageObserver::CreateCustomControlL
   198     */
   205     */
   199     SEikControlInfo CreateCustomControlL(TInt aControlType);
   206     SEikControlInfo CreateCustomControlL(TInt aControlType);