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.
18 #ifndef _INFORMATION_FORM_H_
19 #define _INFORMATION_FORM_H_
26 : public Osp::Ui::Controls::Form
27 , public Osp::Ui::IActionEventListener
28 , public Osp::Ui::Controls::IFormBackEventListener
29 , public Osp::Ui::Scenes::ISceneEventListener
30 , public Osp::Ui::Controls::IListViewItemProvider
33 InformationForm(void);
34 virtual ~InformationForm(void);
35 bool Initialize(void);
37 result OnInitializing(void);
38 result OnTerminating(void);
39 // ISceneEventListener
40 virtual void OnSceneActivatedN(const Osp::Ui::Scenes::SceneId& previousSceneId,
41 const Osp::Ui::Scenes::SceneId& currentSceneId, Osp::Base::Collection::IList* pArgs);
42 virtual void OnSceneDeactivated(const Osp::Ui::Scenes::SceneId& currentSceneId,
43 const Osp::Ui::Scenes::SceneId& nextSceneId);
44 virtual void OnActionPerformed(const Osp::Ui::Control& source, int actionId);
45 virtual void OnFormBackRequested(Osp::Ui::Controls::Form& source);
46 // IListViewItemProvider
47 virtual Osp::Ui::Controls::ListItemBase* CreateItem(int index, int itemWidth);
48 virtual bool DeleteItem(int index, Osp::Ui::Controls::ListItemBase *pItem, int itemWidth);
49 virtual int GetItemCount(void);
52 Osp::Base::Collection::IListT<Osp::Ui::Scenes::SceneId>* __pSceneIdList;
55 #endif // _INFORMATION_FORM_H_