/* * Copyright 2012 Samsung Electronics Co., Ltd * * Licensed under the Flora License, Version 1.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.tizenopensource.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. * */ #ifndef BROWSER_SELECT_FOLDER_VIEW_H #define BROWSER_SELECT_FOLDER_VIEW_H #include "browser-common-view.h" #include "browser-config.h" class Browser_Select_Folder_View : public Browser_Common_View { public: Browser_Select_Folder_View(int current_folder_id); ~Browser_Select_Folder_View(void); Eina_Bool init(void); void return_to_select_folder_view(void); private: Eina_Bool _create_main_layout(void); void _fill_folder_list(void); /* Elementary event callback functions */ static void __folder_item_selected_cb(void *data, Evas_Object *obj, void *event_info); static void __new_folder_clicked_cb(void *data, Evas_Object *obj, void *event_info); static void __cancel_button_clicked_cb(void *data, Evas_Object *obj, void *event_info); static void __done_button_clicked_cb(void *data, Evas_Object *obj, void *event_info); static void __naviframe_pop_finished_cb(void *data , Evas_Object *obj, void *event_info); Evas_Object *m_list; Evas_Object *m_content_layout; Evas_Object *m_conformant; Evas_Object *m_bottom_control_bar; Evas_Object *m_cancel_button; Evas_Object *m_done_button; Elm_Object_Item *m_navi_it; int m_current_folder_id; vector m_folder_list; Browser_Bookmark_DB::bookmark_item *m_main_folder_item; }; #endif /* BROWSER_SELECT_FOLDER_VIEW_H */