3 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
5 // Licensed under the Flora License, Version 1.0 (the License);
6 // you may not use this file except in compliance with the License.
7 // You may obtain a copy of the License at
9 // http://www.tizenopensource.org/license
11 // Unless required by applicable law or agreed to in writing, software
12 // distributed under the License is distributed on an AS IS BASIS,
13 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 // See the License for the specific language governing permissions and
15 // limitations under the License.
20 * @file GlSlideShowPopUp.h
21 * @brief This header file contains the declarations of the SlideShowPopUp
25 #ifndef _GL_SLIDE_SHOW_POPUP_H_
26 #define _GL_SLIDE_SHOW_POPUP_H_
33 class ISlideSettingListener;
36 : public Tizen::Ui::Controls::IListViewItemEventListener
37 , public Tizen::Ui::Controls::IListViewItemProvider
38 , public Tizen::Ui::Controls::Popup
39 , public Tizen::Ui::IActionEventListener
43 virtual ~SlideShowPopUp(void);
45 bool Initialize(void);
46 virtual result OnTerminating(void);
49 void SetEventListner(ISlideSettingListener* listner);
51 virtual int GetItemCount(void);
52 virtual Tizen::Ui::Controls::ListItemBase* CreateItem(int index, int itemWidth);
53 virtual bool DeleteItem(int index, Tizen::Ui::Controls::ListItemBase* pItem, int itemWidth);
55 virtual void OnListViewContextItemStateChanged(Tizen::Ui::Controls::ListView& listView, int index,
56 int elementId, Tizen::Ui::Controls::ListContextItemStatus state){};
57 virtual void OnListViewItemStateChanged(Tizen::Ui::Controls::ListView& listView, int index, int elementId,
58 Tizen::Ui::Controls::ListItemStatus status);
59 virtual void OnListViewItemSwept(Tizen::Ui::Controls::ListView& listView, int index,
60 Tizen::Ui::Controls::SweepDirection direction){};
61 virtual void OnListViewItemLongPressed(Tizen::Ui::Controls::ListView& listView, int index, int elementId,
62 bool& invokeListViewItemCallback){};
64 virtual void OnActionPerformed(const Tizen::Ui::Control& source, int actionId);
67 Tizen::Ui::Controls::ListView* __pList;
68 ISlideSettingListener* __pListener;
71 #endif /* _GL_SLIDE_SHOW_POPUP_H_ */