2 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
4 // Licensed under the Flora License, Version 1.0 (the License);
5 // you may not use this file except in compliance with the License.
6 // You may obtain a copy of the License at
8 // http://floralicense.org/license/
10 // Unless required by applicable law or agreed to in writing, software
11 // distributed under the License is distributed on an AS IS BASIS,
12 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 // See the License for the specific language governing permissions and
14 // limitations under the License.
18 * @file HmIHomePresentationModelListener.h
19 * @brief keeps the declaration for IHomePresentationModelEventListener,
20 * which contains the event callback methods for HomePresentationModel events.
23 #ifndef _HM_IHOME_PRESENTATION_MODEL_LISTENER_H_
24 #define _HM_IHOME_PRESENTATION_MODEL_LISTENER_H_
27 * @class IHomePresentationModelEventListener
28 * @brief Event listener for the Model events
30 class IHomePresentationModelEventListener
34 * This polymorphic destructor should be overridden if required.
35 * This way, the destructors of the derived classes are called when the
36 * destructor of this interface is called
38 virtual ~IHomePresentationModelEventListener(void) {}
41 * Installation completed successfully
43 * @param[in] Info, application info of the installed application
45 virtual void OnInstallationCompleted(const HomeItemInfo& pItemInfo) = 0;
48 * Installation is in progress
50 * @param[in] Info, application info of the application being installed.
52 virtual void OnInstallationInProgress(const HomeItemInfo& pInfo, int progress) {}
55 * Un-Installation completed successfully
57 * @param[in] Info, application info of the un-installed application
59 virtual void OnUnInstallationCompleted(const HomeItemInfo& pItemInfo) = 0;
62 * Installation completed successfully
64 * @param[in] Info, application info of the installed application
66 virtual void OnUpdatePageRequestedN(Tizen::Base::Collection::ArrayList* pPageList) = 0;
69 #endif //_HM_IHOME_PRESENTATION_MODEL_LISTENER_H_