summaryrefslogtreecommitdiff
path: root/src/wallpaper-ui-service-main.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wallpaper-ui-service-main.h')
-rwxr-xr-xsrc/wallpaper-ui-service-main.h89
1 files changed, 89 insertions, 0 deletions
diff --git a/src/wallpaper-ui-service-main.h b/src/wallpaper-ui-service-main.h
new file mode 100755
index 0000000..c3e07ac
--- /dev/null
+++ b/src/wallpaper-ui-service-main.h
@@ -0,0 +1,89 @@
+/*
+ * indicator
+ *
+ * Copyright (c) 2000 - 2015 Samsung Electronics Co., Ltd. All rights reserved.
+ *
+ * Contact: Sung park <sung1103.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 __WALLPAPER_PREVIEW_H__
+#define __WALLPAPER_PREVIEW_H__
+
+#include "wallpaper-ui-service.h"
+
+#include <app.h>
+#include <Elementary.h>
+#include <Ecore_X.h>
+#include <Eina.h>
+#include <Evas.h>
+#if !DISABLE_LOGING_WALLPAPER
+#include <samsung_log_manager.h>
+#include <samsung_log_manager_uri.h>
+#endif
+
+#include "wallpaper-ui-service-debug.h"
+
+typedef void *filter_handle;
+typedef void *media_handle;
+
+typedef struct {
+ Evas_Object *content;
+
+ Elm_Object_Item *item;
+ bool bSelected;
+ char *path;
+ int index;
+ void *data;
+} Thumbnail;
+
+typedef struct {
+ Evas_Object *content;
+
+ Elm_Object_Item *item;
+ char *path;
+ Evas_Object *check;
+ Eina_Bool check_state;
+ bool is_last;
+} default_item_s;
+
+#define GENGRID_ITEM_SIZE (126)
+#define MAX_LENGTH_LINE 1600
+
+#ifndef VCONFKEY_WALLPAPER_HOME_PREVIEW_WALLPAPER_IS_DEFAULT
+#define VCONFKEY_WALLPAPER_HOME_PREVIEW_WALLPAPER_IS_DEFAULT "db/lockscreen/home_wallpaper_is_default"
+#endif
+
+#ifndef VCONFKEY_LOCKSCREEN_WALLPAPER_TYPE
+#define VCONFKEY_LOCKSCREEN_WALLPAPER_TYPE "db/lockscreen/wallpaper_type"
+#endif
+
+#ifndef VCONFKEY_LOCKSCREEN_WALLPAPER_COUNT
+#define VCONFKEY_LOCKSCREEN_WALLPAPER_COUNT "db/lockscreen/wallpaper_count"
+#endif
+
+#ifndef DEFAULT_INTEREST_PATH
+#define DEFAULT_INTEREST_PATH "/opt/usr/apps/org.tizen.wallpaper-service/data/default_images/myinterest_default.png"
+#endif
+
+#ifndef WALLPAPER_SHARE_LOGGING_H_
+#define WALLPAPER_SHARE_LOGGING_H_
+void wallpaper_share_logging(char* uri, char* cAppid, char* cFeature, char* cExtra, char* cValue);
+#endif /* SETTING_SHARE_LOGGING_H_ */
+
+void wallpaper_destory(void *data);
+static void wallpaper_back_key_cb(void *data, Evas_Object *obj, void *event_info);
+
+#endif