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 GlImageListPanel.h
19 * @brief This is the header file for ImageListPanel class.
22 #ifndef _GL_IMAGE_LIST_PANEL_H_
23 #define _GL_IMAGE_LIST_PANEL_H_
27 #include "GlAlbumEventListener.h"
28 #include "GlBasePanel.h"
29 #include "GlThumbnailEventListener.h"
31 class FileListPresentationModel;
35 , public Tizen::Ui::Controls::IIconListViewItemEventListener
36 , public Tizen::Ui::Controls::IIconListViewItemProvider
37 , public Tizen::Ui::Scenes::ISceneEventListener
38 , public IAlbumEventListener
42 virtual ~ImageListPanel();
44 result Initialize(void);
46 virtual result OnInitializing(void);
47 virtual result OnTerminating(void);
48 virtual void OnUpdateContentList(void);
50 virtual void OnIconListViewItemStateChanged (Tizen::Ui::Controls::IconListView &view, int index,
51 Tizen::Ui::Controls::IconListViewItemStatus status);
53 virtual int GetItemCount(void);
54 virtual Tizen::Ui::Controls::IconListViewItem* CreateItem(int index);
55 virtual bool DeleteItem(int index, Tizen::Ui::Controls::IconListViewItem* pItem);
57 virtual void OnSceneActivatedN(const Tizen::Ui::Scenes::SceneId& previousSceneId,
58 const Tizen::Ui::Scenes::SceneId& currentSceneId, Tizen::Base::Collection::IList* pArgs);
59 virtual void OnSceneDeactivated(const Tizen::Ui::Scenes::SceneId& currentSceneId,
60 const Tizen::Ui::Scenes::SceneId& nextSceneId);
62 virtual void OnFileInfoChanged(const Tizen::Content::ContentType contentType);
63 virtual void OnThumbnailDecoded(const int index);
66 Tizen::Ui::Controls::IconListView* __pContentIconListView;
68 FileListPresentationModel* __pPresentationModel;
71 #endif /* _GL_IMAGE_LIST_PANEL_H_ */