2 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
\r
4 // Licensed under the Flora License, Version 1.1 (the License);
\r
5 // you may not use this file except in compliance with the License.
\r
6 // You may obtain a copy of the License at
\r
8 // http://floralicense.org/license/
\r
10 // Unless required by applicable law or agreed to in writing, software
\r
11 // distributed under the License is distributed on an AS IS BASIS,
\r
12 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
\r
13 // See the License for the specific language governing permissions and
\r
14 // limitations under the License.
\r
18 * @file: MfIListViewStateChangeListener.h
\r
19 * @brief: This file contains the declaration of IListViewStateChangeListener class, which is an interface containing the declaration of common events used across the application.
\r
22 #ifndef _MF_ILISTVIEW_STATE_CHANGE_LISTENER
\r
23 #define _MF_ILISTVIEW_STATE_CHANGE_LISTENER
\r
25 #include "MfThumbMgrCommon.h"
\r
26 #include "MfTypes.h"
\r
28 class IListViewStateChangeListener
\r
31 //! Destructor of the class.
\r
32 /*!@fn ~IListViewStateChangeListener(void)
\r
33 * @brief A public virtual member taking no arguments, has an empty implementation.
\r
34 * @param Takes no parameters
\r
35 * @return No value returned
\r
37 virtual ~IListViewStateChangeListener(void){}
\r
39 /*! A public virtual member function of IListViewStateChangeListener taking and returning no arguments.
\r
40 * @fn OnFooterStateChangeNotify(void)
\r
41 * @brief Used to personalize the states of the the footeritems of the form.
\r
42 * @param No parameters
\r
43 * @return No Return Values.
\r
45 virtual void OnFooterStateChangeNotify(void) {}
\r
47 /*! A public purely virtual member function of IListViewStateChangeListener returning no arguments.
\r
48 * @fn OnListViewItemStateChangedNotify(ViewType viewType)
\r
49 * @brief Notifies the form if the view type is changed by the User and accordingly updates the lists.
\r
50 * @param [ViewType] viewType, the enum indicating the selected view type: List, List and Details or Thumbnails.
\r
51 * @return No Return Values.
\r
53 virtual void OnListViewItemStateChangedNotify(ViewType viewType) = 0;
\r
55 /*! A public purely virtual member function of IListViewStateChangeListener returning no arguments.
\r
56 * @fn OnIconListViewItemStateChangeNotify(void)
\r
57 * @brief Notifies the form if the iconlistview has to be updated.
\r
58 * @param No Parameters.
\r
59 * @return No Return Values.
\r
61 virtual void OnIconListViewItemStateChangeNotify(void) = 0;
\r
63 /*! A public purely virtual member function of IListViewStateChangeListener returning a pointer to the FileListPresentationModel.
\r
64 * @fn OnThumbnailReceived(ThumbRequest* pThumbReq)
\r
65 * @brief Used to refresh the image of the listitem from the default image to the generated thumbnail.
\r
66 * @param [ThumbRequest] pThumbReq, the structure containing the thumbnail corresponding to a filepath.
\r
67 * @return No Return Values.
\r
69 virtual void OnThumbnailReceived(ThumbRequest* pThumbReq) = 0;
\r
70 virtual void OnSceneIdChanged(const Tizen::Ui::Scenes::SceneId& currentSceneId, const Tizen::Ui::Scenes::SceneId& previousSceneId) = 0;
\r
71 virtual void OnAppControlCompleted(void) = 0;
\r
72 virtual void OnSettingValueChanged(void) = 0;
\r