-//\r
-\r
-// Copyright (c) 2012 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Flora License, Version 1.0 (the License);\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://floralicense.org/license/\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an AS IS BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-//!Internet\r
-/*@file: EditBookmarkListForm\r
- *@brief: This class defines EditBookmarkListForm used to edit the bookmark\r
- *\r
- */\r
-\r
-#ifndef _INT_EDIT_BOOKMARK_LIST_FORM_H_\r
-#define _INT_EDIT_BOOKMARK_LIST_FORM_H_\r
-\r
-#include <FBase.h>\r
-#include <FUi.h>\r
-#include "IntConfirmationPopup.h"\r
-\r
-class EditBookmarkListForm\r
- : public Tizen::Ui::Controls::Form\r
- , public Tizen::Base::Runtime::ITimerEventListener\r
- , public Tizen::Ui::IActionEventListener\r
- , public Tizen::Ui::Controls::IFastScrollListener\r
- , public Tizen::Ui::Controls::IFormBackEventListener\r
- , public Tizen::Ui::Controls::IListViewItemProvider\r
- , public Tizen::Ui::Controls::IListViewItemEventListener\r
- , public Tizen::Ui::IOrientationEventListener\r
- , public Tizen::Ui::Scenes::ISceneEventListener\r
- {\r
-public:\r
- EditBookmarkListForm(void);\r
-\r
- /**\r
- * @brief The Default Destructor\r
- */\r
- virtual ~EditBookmarkListForm(void);\r
-\r
- /**\r
- * @brief Initializes this instance of EditBookmarkListForm.\r
- *\r
- */\r
- bool Initialize(void);\r
-\r
- public:\r
- virtual result OnInitializing(void);\r
-\r
- // IListViewItemProvider\r
- virtual Tizen::Ui::Controls::ListItemBase* CreateItem(int index, int itemWidth);\r
- virtual bool DeleteItem(int index, Tizen::Ui::Controls::ListItemBase* pItem, int itemWidth);\r
- virtual int GetItemCount(void);\r
-\r
- // IActionEventListener\r
- virtual void OnActionPerformed(const Tizen::Ui::Control& source, int actionId);\r
-\r
- //IFastScrollListener\r
- virtual void OnFastScrollIndexSelected(Tizen::Ui::Control& source, Tizen::Base::String& index);\r
-\r
- // IFormBackEventListener\r
- virtual void OnFormBackRequested(Tizen::Ui::Controls::Form& source);\r
-\r
- // IOrientationEventListener\r
- virtual void OnOrientationChanged (const Tizen::Ui::Control &source, Tizen::Ui::OrientationStatus orientationStatus);\r
-\r
- // IListViewItemEventListener\r
- virtual void OnListViewContextItemStateChanged(Tizen::Ui::Controls::ListView& listView, int index, int elementId, Tizen::Ui::Controls::ListContextItemStatus status);\r
- virtual void OnListViewItemLongPressed(Tizen::Ui::Controls::ListView& listView, int index, int elementId, bool& invokeListViewItemCallback);\r
- virtual void OnListViewItemStateChanged(Tizen::Ui::Controls::ListView& listView, int index, int elementId, Tizen::Ui::Controls::ListItemStatus status);\r
- virtual void OnListViewItemSwept(Tizen::Ui::Controls::ListView& listView, int index, Tizen::Ui::Controls::SweepDirection direction);\r
- virtual void OnListViewItemReordered(Tizen::Ui::Controls::ListView& listView, int indexFrom, int indexTo);\r
-\r
- //ITimerEventListener\r
- virtual void OnTimerExpired(Tizen::Base::Runtime::Timer& timer);\r
-\r
- //ISceenEventListener\r
- virtual void OnSceneActivatedN(const Tizen::Ui::Scenes::SceneId& previousSceneId, const Tizen::Ui::Scenes::SceneId& currentSceneId, Tizen::Base::Collection::IList* pArgs);\r
- virtual void OnSceneDeactivated(const Tizen::Ui::Scenes::SceneId& currentSceneId, const Tizen::Ui::Scenes::SceneId& nextSceneId);\r
-\r
-protected:\r
- static const int IDA_BUTTON_CHECKED;\r
- static const int IDA_TABBAR_ITEM_1;\r
- static const int IDA_TABBAR_ITEM_2;\r
- static const int IDA_DELETEITEM_CLICKED;\r
- static const int IDA_SHAREITEM_CLICKED;\r
- static const int IDA_CANCELITEM_CLICKED;\r
- static const int IDA_FORMAT_FOLDER;\r
- static const int IDA_FORMAT_SITE;\r
- static const int IDA_FORMAT_ICON;\r
- static const int IDA_FORMAT_BITMAP;\r
- static const int IDA_BUTTON_UNCHECKED;\r
- static const int IDA_FORMAT_URL;\r
-\r
-private:\r
- Tizen::Base::String __parentID;\r
- Tizen::Ui::Controls::CheckButton* __pCheckButton;\r
- ConfirmationPopup* __pConfirmationPopup;\r
- Tizen::Base::Collection::ArrayList* __pData;\r
- Tizen::Base::Runtime::Timer* __pTimer;\r
- Tizen::Ui::Controls::Label* __pInfoLabel;\r
- Tizen::Ui::Controls::Panel* __pInfoPanel;\r
- Tizen::Ui::Controls::ListView* __pListview;\r
- Tizen::Base::Collection::ArrayList* __pSelectedList;\r
- int __selectedItemCount;\r
- };\r
-\r
-#endif /* _INT_EDIT_BOOKMARK_LIST_FORM_H_ */\r
+//
+
+// Copyright (c) 2012 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Flora License, Version 1.1 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://floralicense.org/license/
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an AS IS BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+//!Internet
+/*@file: EditBookmarkListForm
+ *@brief: This class defines EditBookmarkListForm used to edit the bookmark
+ *
+ */
+
+#ifndef _INT_EDIT_BOOKMARK_LIST_FORM_H_
+#define _INT_EDIT_BOOKMARK_LIST_FORM_H_
+
+#include <FBase.h>
+#include <FUi.h>
+#include "IntConfirmationPopup.h"
+
+class EditBookmarkListForm
+ : public Tizen::Ui::Controls::Form
+ , public Tizen::Base::Runtime::ITimerEventListener
+ , public Tizen::Ui::IActionEventListener
+ , public Tizen::Ui::Controls::IFastScrollListener
+ , public Tizen::Ui::Controls::IFormBackEventListener
+ , public Tizen::Ui::Controls::IListViewItemProvider
+ , public Tizen::Ui::Controls::IListViewItemEventListener
+ , public Tizen::Ui::IOrientationEventListener
+ , public Tizen::Ui::Scenes::ISceneEventListener
+ {
+public:
+ EditBookmarkListForm(void);
+
+ /**
+ * @brief The Default Destructor
+ */
+ virtual ~EditBookmarkListForm(void);
+
+ /**
+ * @brief Initializes this instance of EditBookmarkListForm.
+ *
+ */
+ bool Initialize(void);
+
+ public:
+ virtual result OnInitializing(void);
+
+ // IListViewItemProvider
+ virtual Tizen::Ui::Controls::ListItemBase* CreateItem(int index, int itemWidth);
+ virtual bool DeleteItem(int index, Tizen::Ui::Controls::ListItemBase* pItem, int itemWidth);
+ virtual int GetItemCount(void);
+
+ // IActionEventListener
+ virtual void OnActionPerformed(const Tizen::Ui::Control& source, int actionId);
+
+ //IFastScrollListener
+ virtual void OnFastScrollIndexSelected(Tizen::Ui::Control& source, Tizen::Base::String& index);
+
+ // IFormBackEventListener
+ virtual void OnFormBackRequested(Tizen::Ui::Controls::Form& source);
+
+ // IOrientationEventListener
+ virtual void OnOrientationChanged (const Tizen::Ui::Control &source, Tizen::Ui::OrientationStatus orientationStatus);
+
+ // IListViewItemEventListener
+ virtual void OnListViewContextItemStateChanged(Tizen::Ui::Controls::ListView& listView, int index, int elementId, Tizen::Ui::Controls::ListContextItemStatus status);
+ virtual void OnListViewItemLongPressed(Tizen::Ui::Controls::ListView& listView, int index, int elementId, bool& invokeListViewItemCallback);
+ virtual void OnListViewItemStateChanged(Tizen::Ui::Controls::ListView& listView, int index, int elementId, Tizen::Ui::Controls::ListItemStatus status);
+ virtual void OnListViewItemSwept(Tizen::Ui::Controls::ListView& listView, int index, Tizen::Ui::Controls::SweepDirection direction);
+ virtual void OnListViewItemReordered(Tizen::Ui::Controls::ListView& listView, int indexFrom, int indexTo);
+
+ //ITimerEventListener
+ virtual void OnTimerExpired(Tizen::Base::Runtime::Timer& timer);
+
+ //ISceenEventListener
+ virtual void OnSceneActivatedN(const Tizen::Ui::Scenes::SceneId& previousSceneId, const Tizen::Ui::Scenes::SceneId& currentSceneId, Tizen::Base::Collection::IList* pArgs);
+ virtual void OnSceneDeactivated(const Tizen::Ui::Scenes::SceneId& currentSceneId, const Tizen::Ui::Scenes::SceneId& nextSceneId);
+
+protected:
+ static const int IDA_BUTTON_CHECKED;
+ static const int IDA_TABBAR_ITEM_1;
+ static const int IDA_TABBAR_ITEM_2;
+ static const int IDA_DELETEITEM_CLICKED;
+ static const int IDA_SHAREITEM_CLICKED;
+ static const int IDA_CANCELITEM_CLICKED;
+ static const int IDA_FORMAT_FOLDER;
+ static const int IDA_FORMAT_SITE;
+ static const int IDA_FORMAT_ICON;
+ static const int IDA_FORMAT_BITMAP;
+ static const int IDA_BUTTON_UNCHECKED;
+ static const int IDA_FORMAT_URL;
+
+private:
+ Tizen::Base::String __parentID;
+ Tizen::Ui::Controls::CheckButton* __pCheckButton;
+ ConfirmationPopup* __pConfirmationPopup;
+ Tizen::Base::Collection::ArrayList* __pData;
+ Tizen::Base::Runtime::Timer* __pTimer;
+ Tizen::Ui::Controls::Label* __pInfoLabel;
+ Tizen::Ui::Controls::Panel* __pInfoPanel;
+ Tizen::Ui::Controls::ListView* __pListview;
+ Tizen::Base::Collection::ArrayList* __pSelectedList;
+ int __selectedItemCount;
+ int __fontSize;
+ };
+
+#endif /* _INT_EDIT_BOOKMARK_LIST_FORM_H_ */