2 * Copyright 2013 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.
20 #include "mf-widget.h"
22 #include "mf-fm-svc-wrapper.h"
23 /***Todo we need to extract some common code to be APIs***/
24 /******************************
25 ** Prototype : mf_content_create_list
26 ** Description : create the list for the content
27 ** Input : struct appdata *data
34 ** 1.Date : 2010/12/10
36 ** Modification : Created function
38 ******************************/
39 Evas_Object *mf_content_create_list(struct appdata *data)
41 struct appdata *ap = (struct appdata *)data;
42 mf_retvm_if(ap == NULL, NULL, "invalid parameter data");
45 if (ap->mf_MainWindow.pNaviGenlist)
46 ap->mf_MainWindow.pNaviGenlist = NULL;
48 return mf_navi_bar_content_create(ap);
51 /******************************
52 ** Prototype : mf_content_main_layout_set_by_tab_item_count
53 ** Description : set content of mainlayout by the count of tab bar items
56 ** Return Value : 0 tab is deleted and navibar of phone set as content
57 : 1 tab bar is the content
62 ** 1.Date : 2010/12/10
64 ** Modification : Created function
66 ******************************/