Refactor appcore-widget using appcore_multiwindow_base
[platform/core/appfw/appcore-widget.git] / src / widget-private.h
index 847c099..293e226 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015 - 2016 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2015 - 2017 Samsung Electronics Co., Ltd All Rights Reserved
  *
  * Licensed under the Apache License, Version 2.0 (the License);
  * you may not use this file except in compliance with the License.
 
 #define FEATURE_SHELL_APPWIDGET "http://tizen.org/feature/shell.appwidget"
 
-struct _widget_class {
-       void *user_data;
-       widget_instance_lifecycle_callback_s ops;
-       char *classid;
-       struct _widget_class *next;
-       struct _widget_class *prev;
-};
-
-struct _widget_context {
-       char *id;
-       struct _widget_class *provider;
-       int state;
-       void *tag;
-       Evas_Object *win;
-       int win_id;
-       char *content;
-       widget_instance_lifecycle_callback_s ops;
-};
-
-typedef struct _widget_context widget_context_s;
-
-GList *_widget_app_get_contexts();
-int _widget_app_add_context(widget_context_s *wc);
-int _widget_app_remove_context(widget_context_s *wc);
-int _widget_app_set_viewer_endpoint(char *viewer_endpoint);
-char *_widget_app_get_viewer_endpoint();
-int _widget_app_free_viewer_endpoint();
-int _set_i18n(const char *domainname);
-void _update_lang(void);
-void _update_region(void);
 int widget_app_error(widget_error_e error, const char *function,
                const char *description);