Added missing changed files.
authorHermet Park <hermet@hermet.pe.kr>
Thu, 1 Dec 2016 10:21:14 +0000 (19:21 +0900)
committerHermet Park <hermet@hermet.pe.kr>
Thu, 1 Dec 2016 10:22:15 +0000 (19:22 +0900)
I missed some changed files from f5182dd96586b474dcc3740eea6173e4edc5ba4d.

Change-Id: I619dbb91bc897785e9a1c4a4f892e7d43527c6cd

src/include/interface/UiIfaceTypes.h
src/include/interface/UiIfaceViewmgr.h

index 1be765421733d9e486603a680353872e56adbf9c..9dfde9fe82af573ae6987efa1e0f7ddf0cbe1da2 100644 (file)
@@ -62,7 +62,8 @@ typedef enum UiViewState
        UI_VIEW_STATE_UNLOAD,          /**< Unload state */
        UI_VIEW_STATE_ACTIVATE,        /**< Activate state */
        UI_VIEW_STATE_DEACTIVATE,      /**< Deactivate state */
-       UI_VIEW_STATE_PAUSE            /**< Pause state */
+       UI_VIEW_STATE_PAUSE,           /**< Pause state */
+       UI_VIEW_STATE_DESTROY          /**< Destroy state */
 } ui_view_state;
 
 /**
index 1d0ec5740b2a65b6d0f4fba2e5a0af66522ba8a7..479ba99e786fc724f5a4b792fec0e0114a6a46a0 100644 (file)
@@ -76,6 +76,19 @@ public:
         */
        virtual int popView();
 
+       /**
+        *  @brief Destroy a given @a view from this viewmgr view list.
+        *         This function is used when application deletes a sepecific view from the viewmgr.
+        *         The given @a view will go through the destroy pass (normally, Deactivate -> Unload -> Destroy).
+        *
+        *  @return @c 0 on success, otherwise a negative error value.
+        *  @retval #UI_VIEWMGR_ERROR_NONE Successful
+        *  @retval #UI_VIEWMGR_ERROR_ALREADY_IN_PROGRESS On a certain profile, it may not allow to pop multiple views at the same time.
+        *
+        *  @see popView()
+        */
+       virtual int destroyView(UiIfaceView *view);
+
        /**
         *  @brief Insert a view in this viewmgr view list. Specifically, insert a given @a view right before of the given view, @before.
         *