/*
- * 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.
- */
-
-
+ * setting
+ *
+ * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
+ *
+ * Contact: MyoungJune Park <mj2004.park@samsung.com>
+ *
+ * Licensed under the Apache License, Version 2.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.apache.org/licenses/LICENSE-2.0
+ *
+ * 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 __SETTING_ABOUT_H__
#define __SETTING_ABOUT_H__
#include <stdio.h>
-#include <appcore-efl.h>
#include <Elementary.h>
#include <ITapiSim.h>
#include <glib-object.h>
-#include <ui-gadget.h>
-#include <ui-gadget-module.h>
-#include <bundle.h>
#include <iniparser.h>
+// #include <mobileap_lib.h>
#include <setting-common-draw-widget.h>
#include <setting-common-view.h>
+#include <TapiUtility.h>
+#include <tapi_common.h>
+#include <ITapiSim.h>
+
#define MAX_DISPLAY_STR_LEN_ON_PHONE_INFO 256
-#define BT_MAC_LEN 14
#define SETTING_ABOUT_PROGRESSBAR_TIMEOUT 10
+//#define SETTING_ABOUT_MOBILE_AP_TURNED_OFF "Mobile hotspot will be turned off."
#define SETTING_ABOUT_MOBILE_AP_TURNED_OFF "Wi-Fi hotspot will be turned off if Device name is changed."
-#define SETTING_ABOUT_MY_NUMBERS_LEN 5
+#define SETTING_ABOUT_MY_NUMBERS_LEN 3
#define SETTING_ABOUT_WIFI_MAC_STR_LEN 17
+#define SETTING_ABOUT_DEFAULT_DEVICE_NAME "Redwood"
typedef struct _SettingAboutUG SettingAboutUG;
* and the functions access app context.
*/
struct _SettingAboutUG {
- struct ui_gadget *ug;
+ ui_gadget_h ug;
+ TapiHandle *handle;
+ bool tapi_responsed;
+
+ setting_view *view_to_load;
Elm_Genlist_Item_Class itc_1text;
Elm_Genlist_Item_Class itc_1icon;
Evas_Object *win_main_layout;
Evas_Object *win_get;
- struct ui_gadget *ug_loading;
+ ui_gadget_h ug_loading;
Evas_Object *navi_bar;
Evas_Object *ly_main;
Evas_Object *genlsit;
+ Elm_Object_Item *navi_item;
Ecore_Timer *update_timer;
Setting_GenGroupItem_Data *item_dev_name;
Setting_GenGroupItem_Data *item_data_cpu;
Setting_GenGroupItem_Data *item_data_battery;
+ Setting_GenGroupItem_Data *item_data_bt;
+ Setting_GenGroupItem_Data *item_data_wifi;
Evas_Object *popup;
- Evas_Object *progress_bar;
bool empty_flag;
- char *my_numbers[SETTING_ABOUT_MY_NUMBERS_LEN];
- int my_number_sel_idx;
+ //char *my_numbers[SETTING_ABOUT_MY_NUMBERS_LEN];
+ TelSimMsisdnList_t my_numbers;
bool popup_showed_flag; /** if popup has been showed, do not show again*/
+// MOBILE_AP_HANDLE mobile_ap_handle;
};
extern setting_view setting_view_about_main;
-extern setting_view setting_view_about_licences;
-void setting_about_layout_ug_cb(struct ui_gadget *ug, enum ug_mode mode,
- void *priv);
+extern int setting_about_generate_genlist(void *data);
+void setting_about_layout_ug_cb(ui_gadget_h ug, enum ug_mode mode, void *priv);
+void setting_about_main_exp_cb(void *data, Evas_Object *obj, void *event_info);
#endif /* __SETTING_ABOUT_H__ */