summaryrefslogtreecommitdiff
path: root/src/cp-wallpaper-main.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cp-wallpaper-main.h')
-rwxr-xr-xsrc/cp-wallpaper-main.h92
1 files changed, 92 insertions, 0 deletions
diff --git a/src/cp-wallpaper-main.h b/src/cp-wallpaper-main.h
new file mode 100755
index 0000000..ca754b0
--- /dev/null
+++ b/src/cp-wallpaper-main.h
@@ -0,0 +1,92 @@
+/*
+ * cp-wallpaper-efl
+ *
+ * Copyright (c) 2000 - 2015 Samsung Electronics Co., Ltd. All rights reserved.
+ *
+ * Contact: Seungtaek Chung <seungtaek.chung@samsung.com>, Mi-Ju Lee <miju52.lee@samsung.com>, Xi Zhichan <zhichan.xi@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 __CP_WALLPAPER_MAIN_H__
+#define __CP_WALLPAPER_MAIN_H__
+
+#include <Elementary.h>
+#include "wallpaper-ui-service.h"
+#include <ui-gadget.h>
+
+#ifndef VCONFKEY_LOCKSCREEN_CP_FIRST_SET
+#define VCONFKEY_LOCKSCREEN_CP_FIRST_SET "db/lockscreen/cp_first_set"
+#endif
+
+//#ifndef VCONFKEY_LOCKSCREEN_CP_ENHANCED_SERVICE
+//#define VCONFKEY_LOCKSCREEN_CP_ENHANCED_SERVICE "db/lockscreen/cp_enhanced_service"
+//#endif
+
+#ifndef VCONFKEY_LOCKSCREEN_CP_SETPOPUP_DONOTSHOWAGAIN
+#define VCONFKEY_LOCKSCREEN_CP_SETPOPUP_DONOTSHOWAGAIN "db/lockscreen/cp_setpopup_donotshowagain"
+#endif
+
+#ifndef VCONFKEY_LOCKSCREEN_CP_WIFIPOPUP_DONOTSHOWAGAIN
+#define VCONFKEY_LOCKSCREEN_CP_WIFIPOPUP_DONOTSHOWAGAIN "db/lockscreen/cp_wifipopup_donotshowagain"
+#endif
+
+#ifndef VCONFKEY_LOCKSCREEN_CP_CHANGE_CATEGORY_DONOTSHOWAGAIN
+#define VCONFKEY_LOCKSCREEN_CP_CHANGE_CATEGORY_DONOTSHOWAGAIN "db/lockscreen/cp_changecategorypopup_donotshowagain"
+#endif
+
+typedef struct {
+ Evas_Object *content;
+
+ Elm_Object_Item *item;
+ char* path;
+ char* name;
+ char* code;
+ int index;
+ int check_index;
+ Evas_Object *del;
+ Evas_Object *check;
+ Eina_Bool check_state;
+ Eina_Bool pre_state;
+ void* data;
+} cp_grid_item_s;
+
+typedef struct _cp_wallpaper_ug_data {
+ Evas_Object *win_main;
+ Evas_Object *layout_main;
+ Evas_Object *base;
+ Evas_Object *popup;
+ Evas_Object *popup_progress;
+ Evas_Object *btn;
+ Evas_Object *btn2;
+ ui_gadget_h ug;
+ Evas_Object *navi_bar;
+ Evas_Object *navi_main_item;
+ Evas_Object *navi_setting_item;
+ Evas_Object *navi_enhanced_item;
+ Evas_Object *check_clear;
+ int category_received;
+ Evas_Object *more_popup;
+} cp_wallpaper_ug_data;
+
+void cp_wallpaper_main(wallpaper_ui_service_appdata *data);
+Evas_Object *cp_wallpaper_util_create_layout(Evas_Object * parent, const char *file, const char *group);
+static void cp_radio_change(void *data, Evas_Object *obj, void *event_info);
+static char* gl_radio_text_get_cb(void *data, Evas_Object *obj, const char *part);
+static Evas_Object* gl_radio_content_get_cb(void *data, Evas_Object *obj, const char *part);
+static void gl_radio_sel_cb(void *data, Evas_Object *obj, void *event_info);
+void cpwallpaper_changing_TA_launch_request();
+void cp_wallpaper_popup_language_change(void);
+
+#endif /* __CP_WALLPAPER_MAIN_H__ */