summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorINSUN PYO <insun.pyo@samsung.com>2017-09-12 12:10:06 +0900
committerKarol Lewandowski <k.lewandowsk@samsung.com>2024-09-03 10:56:13 +0200
commit20407eb086df50f040e5dddb15dfd9a2ff4dd6de (patch)
tree3ac8d3f274ab6b83a2bf1a657040c8d2896058fb
parentdb68640b237c5537ea7305a8ae817f2bf0e902ef (diff)
downloadglib-20407eb086df50f040e5dddb15dfd9a2ff4dd6de.tar.gz
glib-20407eb086df50f040e5dddb15dfd9a2ff4dd6de.tar.bz2
glib-20407eb086df50f040e5dddb15dfd9a2ff4dd6de.zip
tizen: API: Deprecated Gdbus APIs in Tizen Public
In Tizen Public, Gdbus APIs have been deprecated since Tizen 2.4. This patch shows warning messages to Tizen Public SDK developers. https://developer.tizen.org/development/api-references/native-application?redirect=https://developer.tizen.org/dev-guide/3.0.0/org.tizen.native.mobile.apireference/group__OPENSRC__GLIB__FRAMEWORK.html Signed-off-by: INSUN PYO <insun.pyo@samsung.com> [ rebased to v2.80.5 ] Signed-off-by Karol Lewandowski <k.lewandowsk@samsung.com> Change-Id: I07de7c48e6b94caa4d9f31af98b180a218d11275
-rw-r--r--gio/gdbusactiongroup.h5
-rw-r--r--gio/gdbusaddress.h15
-rw-r--r--gio/gdbusauthobserver.h9
-rw-r--r--gio/gdbusconnection.h93
-rw-r--r--gio/gdbuserror.h23
-rw-r--r--gio/gdbusinterface.h11
-rw-r--r--gio/gdbusinterfaceskeleton.h29
-rw-r--r--gio/gdbusintrospection.h63
-rw-r--r--gio/gdbusmenumodel.h5
-rw-r--r--gio/gdbusmessage.h104
-rw-r--r--gio/gdbusmethodinvocation.h39
-rw-r--r--gio/gdbusnameowning.h11
-rw-r--r--gio/gdbusnamewatching.h11
-rw-r--r--gio/gdbusobject.h9
-rw-r--r--gio/gdbusobjectmanager.h11
-rw-r--r--gio/gdbusobjectmanagerclient.h23
-rw-r--r--gio/gdbusobjectmanagerserver.h17
-rw-r--r--gio/gdbusproxy.h53
-rw-r--r--gio/gdbusserver.h17
-rw-r--r--gio/gdbusutils.h17
-rw-r--r--gio/meson.build1
-rw-r--r--gio/tizen_header_glib.h29
22 files changed, 323 insertions, 272 deletions
diff --git a/gio/gdbusactiongroup.h b/gio/gdbusactiongroup.h
index 84868f07e..a7dc3065c 100644
--- a/gio/gdbusactiongroup.h
+++ b/gio/gdbusactiongroup.h
@@ -28,6 +28,7 @@
#endif
#include "giotypes.h"
+#include <gio/tizen_header_glib.h> /* for TIZEN_PUBLIC_DEPRECATED_API */
G_BEGIN_DECLS
@@ -44,12 +45,12 @@ G_BEGIN_DECLS
G_TYPE_DBUS_ACTION_GROUP, GDBusActionGroupClass))
GIO_AVAILABLE_IN_ALL
-GType g_dbus_action_group_get_type (void) G_GNUC_CONST;
+GType g_dbus_action_group_get_type (void) G_GNUC_CONST TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_2_32
GDBusActionGroup * g_dbus_action_group_get (GDBusConnection *connection,
const gchar *bus_name,
- const gchar *object_path);
+ const gchar *object_path) TIZEN_PUBLIC_DEPRECATED_API;
G_END_DECLS
diff --git a/gio/gdbusaddress.h b/gio/gdbusaddress.h
index 09734adef..7ec103806 100644
--- a/gio/gdbusaddress.h
+++ b/gio/gdbusaddress.h
@@ -28,39 +28,40 @@
#endif
#include <gio/giotypes.h>
+#include <gio/tizen_header_glib.h> /* for TIZEN_PUBLIC_DEPRECATED_API */
G_BEGIN_DECLS
GIO_AVAILABLE_IN_2_36
-gchar *g_dbus_address_escape_value (const gchar *string);
+gchar *g_dbus_address_escape_value (const gchar *string) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-gboolean g_dbus_is_address (const gchar *string);
+gboolean g_dbus_is_address (const gchar *string) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
gboolean g_dbus_is_supported_address (const gchar *string,
- GError **error);
+ GError **error) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
void g_dbus_address_get_stream (const gchar *address,
GCancellable *cancellable,
GAsyncReadyCallback callback,
- gpointer user_data);
+ gpointer user_data) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
GIOStream *g_dbus_address_get_stream_finish (GAsyncResult *res,
gchar **out_guid,
- GError **error);
+ GError **error) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
GIOStream *g_dbus_address_get_stream_sync (const gchar *address,
gchar **out_guid,
GCancellable *cancellable,
- GError **error);
+ GError **error) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
gchar *g_dbus_address_get_for_bus_sync (GBusType bus_type,
GCancellable *cancellable,
- GError **error);
+ GError **error) TIZEN_PUBLIC_DEPRECATED_API;
G_END_DECLS
diff --git a/gio/gdbusauthobserver.h b/gio/gdbusauthobserver.h
index 715095d40..6888b3f9a 100644
--- a/gio/gdbusauthobserver.h
+++ b/gio/gdbusauthobserver.h
@@ -28,6 +28,7 @@
#endif
#include <gio/giotypes.h>
+#include <gio/tizen_header_glib.h> /* for TIZEN_PUBLIC_DEPRECATED_API */
G_BEGIN_DECLS
@@ -36,17 +37,17 @@ G_BEGIN_DECLS
#define G_IS_DBUS_AUTH_OBSERVER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), G_TYPE_DBUS_AUTH_OBSERVER))
GIO_AVAILABLE_IN_ALL
-GType g_dbus_auth_observer_get_type (void) G_GNUC_CONST;
+GType g_dbus_auth_observer_get_type (void) G_GNUC_CONST TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-GDBusAuthObserver *g_dbus_auth_observer_new (void);
+GDBusAuthObserver *g_dbus_auth_observer_new (void) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
gboolean g_dbus_auth_observer_authorize_authenticated_peer (GDBusAuthObserver *observer,
GIOStream *stream,
- GCredentials *credentials);
+ GCredentials *credentials) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_2_34
gboolean g_dbus_auth_observer_allow_mechanism (GDBusAuthObserver *observer,
- const gchar *mechanism);
+ const gchar *mechanism) TIZEN_PUBLIC_DEPRECATED_API;
G_END_DECLS
diff --git a/gio/gdbusconnection.h b/gio/gdbusconnection.h
index 3a8cb9d27..feda7c002 100644
--- a/gio/gdbusconnection.h
+++ b/gio/gdbusconnection.h
@@ -28,6 +28,7 @@
#endif
#include <gio/giotypes.h>
+#include <gio/tizen_header_glib.h> /* for TIZEN_PUBLIC_DEPRECATED_API */
G_BEGIN_DECLS
@@ -44,14 +45,14 @@ GIO_AVAILABLE_IN_ALL
void g_bus_get (GBusType bus_type,
GCancellable *cancellable,
GAsyncReadyCallback callback,
- gpointer user_data);
+ gpointer user_data) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
GDBusConnection *g_bus_get_finish (GAsyncResult *res,
- GError **error);
+ GError **error) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
GDBusConnection *g_bus_get_sync (GBusType bus_type,
GCancellable *cancellable,
- GError **error);
+ GError **error) TIZEN_PUBLIC_DEPRECATED_API;
/* ---------------------------------------------------------------------------------------------------- */
@@ -62,17 +63,17 @@ void g_dbus_connection_new (GIOStream
GDBusAuthObserver *observer,
GCancellable *cancellable,
GAsyncReadyCallback callback,
- gpointer user_data);
+ gpointer user_data) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
GDBusConnection *g_dbus_connection_new_finish (GAsyncResult *res,
- GError **error);
+ GError **error) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
GDBusConnection *g_dbus_connection_new_sync (GIOStream *stream,
const gchar *guid,
GDBusConnectionFlags flags,
GDBusAuthObserver *observer,
GCancellable *cancellable,
- GError **error);
+ GError **error) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
void g_dbus_connection_new_for_address (const gchar *address,
@@ -80,44 +81,44 @@ void g_dbus_connection_new_for_address (const gchar
GDBusAuthObserver *observer,
GCancellable *cancellable,
GAsyncReadyCallback callback,
- gpointer user_data);
+ gpointer user_data) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
GDBusConnection *g_dbus_connection_new_for_address_finish (GAsyncResult *res,
- GError **error);
+ GError **error) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
GDBusConnection *g_dbus_connection_new_for_address_sync (const gchar *address,
GDBusConnectionFlags flags,
GDBusAuthObserver *observer,
GCancellable *cancellable,
- GError **error);
+ GError **error) TIZEN_PUBLIC_DEPRECATED_API;
/* ---------------------------------------------------------------------------------------------------- */
GIO_AVAILABLE_IN_ALL
-void g_dbus_connection_start_message_processing (GDBusConnection *connection);
+void g_dbus_connection_start_message_processing (GDBusConnection *connection) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-gboolean g_dbus_connection_is_closed (GDBusConnection *connection);
+gboolean g_dbus_connection_is_closed (GDBusConnection *connection) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-GIOStream *g_dbus_connection_get_stream (GDBusConnection *connection);
+GIOStream *g_dbus_connection_get_stream (GDBusConnection *connection) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-const gchar *g_dbus_connection_get_guid (GDBusConnection *connection);
+const gchar *g_dbus_connection_get_guid (GDBusConnection *connection) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-const gchar *g_dbus_connection_get_unique_name (GDBusConnection *connection);
+const gchar *g_dbus_connection_get_unique_name (GDBusConnection *connection) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-GCredentials *g_dbus_connection_get_peer_credentials (GDBusConnection *connection);
+GCredentials *g_dbus_connection_get_peer_credentials (GDBusConnection *connection) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_2_34
-guint32 g_dbus_connection_get_last_serial (GDBusConnection *connection);
+guint32 g_dbus_connection_get_last_serial (GDBusConnection *connection) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-gboolean g_dbus_connection_get_exit_on_close (GDBusConnection *connection);
+gboolean g_dbus_connection_get_exit_on_close (GDBusConnection *connection) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
void g_dbus_connection_set_exit_on_close (GDBusConnection *connection,
- gboolean exit_on_close);
+ gboolean exit_on_close) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-GDBusCapabilityFlags g_dbus_connection_get_capabilities (GDBusConnection *connection);
+GDBusCapabilityFlags g_dbus_connection_get_capabilities (GDBusConnection *connection) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_2_60
-GDBusConnectionFlags g_dbus_connection_get_flags (GDBusConnection *connection);
+GDBusConnectionFlags g_dbus_connection_get_flags (GDBusConnection *connection) TIZEN_PUBLIC_DEPRECATED_API;
/* ---------------------------------------------------------------------------------------------------- */
@@ -125,15 +126,15 @@ GIO_AVAILABLE_IN_ALL
void g_dbus_connection_close (GDBusConnection *connection,
GCancellable *cancellable,
GAsyncReadyCallback callback,
- gpointer user_data);
+ gpointer user_data) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
gboolean g_dbus_connection_close_finish (GDBusConnection *connection,
GAsyncResult *res,
- GError **error);
+ GError **error) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
gboolean g_dbus_connection_close_sync (GDBusConnection *connection,
GCancellable *cancellable,
- GError **error);
+ GError **error) TIZEN_PUBLIC_DEPRECATED_API;
/* ---------------------------------------------------------------------------------------------------- */
@@ -141,15 +142,15 @@ GIO_AVAILABLE_IN_ALL
void g_dbus_connection_flush (GDBusConnection *connection,
GCancellable *cancellable,
GAsyncReadyCallback callback,
- gpointer user_data);
+ gpointer user_data) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
gboolean g_dbus_connection_flush_finish (GDBusConnection *connection,
GAsyncResult *res,
- GError **error);
+ GError **error) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
gboolean g_dbus_connection_flush_sync (GDBusConnection *connection,
GCancellable *cancellable,
- GError **error);
+ GError **error) TIZEN_PUBLIC_DEPRECATED_API;
/* ---------------------------------------------------------------------------------------------------- */
@@ -158,7 +159,7 @@ gboolean g_dbus_connection_send_message (GDBusConnecti
GDBusMessage *message,
GDBusSendMessageFlags flags,
volatile guint32 *out_serial,
- GError **error);
+ GError **error) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
void g_dbus_connection_send_message_with_reply (GDBusConnection *connection,
GDBusMessage *message,
@@ -167,11 +168,11 @@ void g_dbus_connection_send_message_with_reply (GDBusConnecti
volatile guint32 *out_serial,
GCancellable *cancellable,
GAsyncReadyCallback callback,
- gpointer user_data);
+ gpointer user_data) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
GDBusMessage *g_dbus_connection_send_message_with_reply_finish (GDBusConnection *connection,
GAsyncResult *res,
- GError **error);
+ GError **error) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
GDBusMessage *g_dbus_connection_send_message_with_reply_sync (GDBusConnection *connection,
GDBusMessage *message,
@@ -179,7 +180,7 @@ GDBusMessage *g_dbus_connection_send_message_with_reply_sync (GDBusConnecti
gint timeout_msec,
volatile guint32 *out_serial,
GCancellable *cancellable,
- GError **error);
+ GError **error) TIZEN_PUBLIC_DEPRECATED_API;
/* ---------------------------------------------------------------------------------------------------- */
@@ -190,7 +191,7 @@ gboolean g_dbus_connection_emit_signal (GDBusConnection
const gchar *interface_name,
const gchar *signal_name,
GVariant *parameters,
- GError **error);
+ GError **error) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
void g_dbus_connection_call (GDBusConnection *connection,
const gchar *bus_name,
@@ -203,11 +204,11 @@ void g_dbus_connection_call (GDBusConnection
gint timeout_msec,
GCancellable *cancellable,
GAsyncReadyCallback callback,
- gpointer user_data);
+ gpointer user_data) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
GVariant *g_dbus_connection_call_finish (GDBusConnection *connection,
GAsyncResult *res,
- GError **error);
+ GError **error) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
GVariant *g_dbus_connection_call_sync (GDBusConnection *connection,
const gchar *bus_name,
@@ -219,7 +220,7 @@ GVariant *g_dbus_connection_call_sync (GDBusConnection
GDBusCallFlags flags,
gint timeout_msec,
GCancellable *cancellable,
- GError **error);
+ GError **error) TIZEN_PUBLIC_DEPRECATED_API;
#ifdef G_OS_UNIX
@@ -236,12 +237,12 @@ void g_dbus_connection_call_with_unix_fd_list (GDBusConnection
GUnixFDList *fd_list,
GCancellable *cancellable,
GAsyncReadyCallback callback,
- gpointer user_data);
+ gpointer user_data) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_2_30
GVariant *g_dbus_connection_call_with_unix_fd_list_finish (GDBusConnection *connection,
GUnixFDList **out_fd_list,
GAsyncResult *res,
- GError **error);
+ GError **error) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_2_30
GVariant *g_dbus_connection_call_with_unix_fd_list_sync (GDBusConnection *connection,
const gchar *bus_name,
@@ -255,7 +256,7 @@ GVariant *g_dbus_connection_call_with_unix_fd_list_sync (GDBusConnection
GUnixFDList *fd_list,
GUnixFDList **out_fd_list,
GCancellable *cancellable,
- GError **error);
+ GError **error) TIZEN_PUBLIC_DEPRECATED_API;
#endif /* G_OS_UNIX */
@@ -409,7 +410,7 @@ guint g_dbus_connection_register_object (GDBusConnection
const GDBusInterfaceVTable *vtable,
gpointer user_data,
GDestroyNotify user_data_free_func,
- GError **error);
+ GError **error) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_2_46
guint g_dbus_connection_register_object_with_closures (GDBusConnection *connection,
const gchar *object_path,
@@ -417,10 +418,10 @@ guint g_dbus_connection_register_object_with_closures (GDBusConnectio
GClosure *method_call_closure,
GClosure *get_property_closure,
GClosure *set_property_closure,
- GError **error);
+ GError **error) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
gboolean g_dbus_connection_unregister_object (GDBusConnection *connection,
- guint registration_id);
+ guint registration_id) TIZEN_PUBLIC_DEPRECATED_API;
/* ---------------------------------------------------------------------------------------------------- */
@@ -547,10 +548,10 @@ guint g_dbus_connection_register_subtree (GDBusConnection
GDBusSubtreeFlags flags,
gpointer user_data,
GDestroyNotify user_data_free_func,
- GError **error);
+ GError **error) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
gboolean g_dbus_connection_unregister_subtree (GDBusConnection *connection,
- guint registration_id);
+ guint registration_id) TIZEN_PUBLIC_DEPRECATED_API;
/* ---------------------------------------------------------------------------------------------------- */
@@ -587,10 +588,10 @@ guint g_dbus_connection_signal_subscribe (GDBusConnection
GDBusSignalFlags flags,
GDBusSignalCallback callback,
gpointer user_data,
- GDestroyNotify user_data_free_func);
+ GDestroyNotify user_data_free_func) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
void g_dbus_connection_signal_unsubscribe (GDBusConnection *connection,
- guint subscription_id);
+ guint subscription_id) TIZEN_PUBLIC_DEPRECATED_API;
/* ---------------------------------------------------------------------------------------------------- */
@@ -677,11 +678,11 @@ GIO_AVAILABLE_IN_ALL
guint g_dbus_connection_add_filter (GDBusConnection *connection,
GDBusMessageFilterFunction filter_function,
gpointer user_data,
- GDestroyNotify user_data_free_func);
+ GDestroyNotify user_data_free_func) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
void g_dbus_connection_remove_filter (GDBusConnection *connection,
- guint filter_id);
+ guint filter_id) TIZEN_PUBLIC_DEPRECATED_API;
/* ---------------------------------------------------------------------------------------------------- */
diff --git a/gio/gdbuserror.h b/gio/gdbuserror.h
index 6a849348f..36f1cff4c 100644
--- a/gio/gdbuserror.h
+++ b/gio/gdbuserror.h
@@ -28,6 +28,7 @@
#endif
#include <gio/giotypes.h>
+#include <gio/tizen_header_glib.h> /* for TIZEN_PUBLIC_DEPRECATED_API */
G_BEGIN_DECLS
@@ -48,15 +49,15 @@ G_BEGIN_DECLS
#define G_DBUS_ERROR g_dbus_error_quark()
GIO_AVAILABLE_IN_ALL
-GQuark g_dbus_error_quark (void);
+GQuark g_dbus_error_quark (void) TIZEN_PUBLIC_DEPRECATED_API;
/* Used by applications to check, get and strip the D-Bus error name */
GIO_AVAILABLE_IN_ALL
-gboolean g_dbus_error_is_remote_error (const GError *error);
+gboolean g_dbus_error_is_remote_error (const GError *error) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-gchar *g_dbus_error_get_remote_error (const GError *error);
+gchar *g_dbus_error_get_remote_error (const GError *error) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-gboolean g_dbus_error_strip_remote_error (GError *error);
+gboolean g_dbus_error_strip_remote_error (GError *error) TIZEN_PUBLIC_DEPRECATED_API;
/**
* GDBusErrorEntry:
@@ -76,35 +77,35 @@ struct _GDBusErrorEntry
GIO_AVAILABLE_IN_ALL
gboolean g_dbus_error_register_error (GQuark error_domain,
gint error_code,
- const gchar *dbus_error_name);
+ const gchar *dbus_error_name) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
gboolean g_dbus_error_unregister_error (GQuark error_domain,
gint error_code,
- const gchar *dbus_error_name);
+ const gchar *dbus_error_name) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
void g_dbus_error_register_error_domain (const gchar *error_domain_quark_name,
volatile gsize *quark_volatile,
const GDBusErrorEntry *entries,
- guint num_entries);
+ guint num_entries) TIZEN_PUBLIC_DEPRECATED_API;
/* Only used by object mappings to map back and forth to GError */
GIO_AVAILABLE_IN_ALL
GError *g_dbus_error_new_for_dbus_error (const gchar *dbus_error_name,
- const gchar *dbus_error_message);
+ const gchar *dbus_error_message) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
void g_dbus_error_set_dbus_error (GError **error,
const gchar *dbus_error_name,
const gchar *dbus_error_message,
const gchar *format,
- ...) G_GNUC_PRINTF(4, 5);
+ ...) G_GNUC_PRINTF(4, 5) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
void g_dbus_error_set_dbus_error_valist (GError **error,
const gchar *dbus_error_name,
const gchar *dbus_error_message,
const gchar *format,
- va_list var_args) G_GNUC_PRINTF(4, 0);
+ va_list var_args) G_GNUC_PRINTF(4, 0) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-gchar *g_dbus_error_encode_gerror (const GError *error);
+gchar *g_dbus_error_encode_gerror (const GError *error) TIZEN_PUBLIC_DEPRECATED_API;
G_END_DECLS
diff --git a/gio/gdbusinterface.h b/gio/gdbusinterface.h
index 44889754b..112b2179c 100644
--- a/gio/gdbusinterface.h
+++ b/gio/gdbusinterface.h
@@ -24,6 +24,7 @@
#define __G_DBUS_INTERFACE_H__
#include <gio/giotypes.h>
+#include <gio/tizen_header_glib.h> /* for TIZEN_PUBLIC_DEPRECATED_API */
G_BEGIN_DECLS
@@ -59,16 +60,16 @@ struct _GDBusInterfaceIface
};
GIO_AVAILABLE_IN_ALL
-GType g_dbus_interface_get_type (void) G_GNUC_CONST;
+GType g_dbus_interface_get_type (void) G_GNUC_CONST TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-GDBusInterfaceInfo *g_dbus_interface_get_info (GDBusInterface *interface_);
+GDBusInterfaceInfo *g_dbus_interface_get_info (GDBusInterface *interface_) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-GDBusObject *g_dbus_interface_get_object (GDBusInterface *interface_);
+GDBusObject *g_dbus_interface_get_object (GDBusInterface *interface_) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
void g_dbus_interface_set_object (GDBusInterface *interface_,
- GDBusObject *object);
+ GDBusObject *object) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_2_32
-GDBusObject *g_dbus_interface_dup_object (GDBusInterface *interface_);
+GDBusObject *g_dbus_interface_dup_object (GDBusInterface *interface_) TIZEN_PUBLIC_DEPRECATED_API;
G_END_DECLS
diff --git a/gio/gdbusinterfaceskeleton.h b/gio/gdbusinterfaceskeleton.h
index 5de5ff92b..0ac1ddc82 100644
--- a/gio/gdbusinterfaceskeleton.h
+++ b/gio/gdbusinterfaceskeleton.h
@@ -24,6 +24,7 @@
#define __G_DBUS_INTERFACE_SKELETON_H__
#include <gio/giotypes.h>
+#include <gio/tizen_header_glib.h> /* for TIZEN_PUBLIC_DEPRECATED_API */
G_BEGIN_DECLS
@@ -80,41 +81,41 @@ struct _GDBusInterfaceSkeletonClass
};
GIO_AVAILABLE_IN_ALL
-GType g_dbus_interface_skeleton_get_type (void) G_GNUC_CONST;
+GType g_dbus_interface_skeleton_get_type (void) G_GNUC_CONST TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-GDBusInterfaceSkeletonFlags g_dbus_interface_skeleton_get_flags (GDBusInterfaceSkeleton *interface_);
+GDBusInterfaceSkeletonFlags g_dbus_interface_skeleton_get_flags (GDBusInterfaceSkeleton *interface_) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
void g_dbus_interface_skeleton_set_flags (GDBusInterfaceSkeleton *interface_,
- GDBusInterfaceSkeletonFlags flags);
+ GDBusInterfaceSkeletonFlags flags) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-GDBusInterfaceInfo *g_dbus_interface_skeleton_get_info (GDBusInterfaceSkeleton *interface_);
+GDBusInterfaceInfo *g_dbus_interface_skeleton_get_info (GDBusInterfaceSkeleton *interface_) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-GDBusInterfaceVTable *g_dbus_interface_skeleton_get_vtable (GDBusInterfaceSkeleton *interface_);
+GDBusInterfaceVTable *g_dbus_interface_skeleton_get_vtable (GDBusInterfaceSkeleton *interface_) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-GVariant *g_dbus_interface_skeleton_get_properties (GDBusInterfaceSkeleton *interface_);
+GVariant *g_dbus_interface_skeleton_get_properties (GDBusInterfaceSkeleton *interface_) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-void g_dbus_interface_skeleton_flush (GDBusInterfaceSkeleton *interface_);
+void g_dbus_interface_skeleton_flush (GDBusInterfaceSkeleton *interface_) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
gboolean g_dbus_interface_skeleton_export (GDBusInterfaceSkeleton *interface_,
GDBusConnection *connection,
const gchar *object_path,
- GError **error);
+ GError **error) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-void g_dbus_interface_skeleton_unexport (GDBusInterfaceSkeleton *interface_);
+void g_dbus_interface_skeleton_unexport (GDBusInterfaceSkeleton *interface_) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
void g_dbus_interface_skeleton_unexport_from_connection (GDBusInterfaceSkeleton *interface_,
- GDBusConnection *connection);
+ GDBusConnection *connection) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-GDBusConnection *g_dbus_interface_skeleton_get_connection (GDBusInterfaceSkeleton *interface_);
+GDBusConnection *g_dbus_interface_skeleton_get_connection (GDBusInterfaceSkeleton *interface_) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-GList *g_dbus_interface_skeleton_get_connections (GDBusInterfaceSkeleton *interface_);
+GList *g_dbus_interface_skeleton_get_connections (GDBusInterfaceSkeleton *interface_) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
gboolean g_dbus_interface_skeleton_has_connection (GDBusInterfaceSkeleton *interface_,
- GDBusConnection *connection);
+ GDBusConnection *connection) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-const gchar *g_dbus_interface_skeleton_get_object_path (GDBusInterfaceSkeleton *interface_);
+const gchar *g_dbus_interface_skeleton_get_object_path (GDBusInterfaceSkeleton *interface_) TIZEN_PUBLIC_DEPRECATED_API;
G_END_DECLS
diff --git a/gio/gdbusintrospection.h b/gio/gdbusintrospection.h
index 53f468500..51b8f9b80 100644
--- a/gio/gdbusintrospection.h
+++ b/gio/gdbusintrospection.h
@@ -28,6 +28,7 @@
#endif
#include <gio/giotypes.h>
+#include <gio/tizen_header_glib.h> /* for TIZEN_PUBLIC_DEPRECATED_API */
G_BEGIN_DECLS
@@ -183,66 +184,66 @@ struct _GDBusNodeInfo
GIO_AVAILABLE_IN_ALL
const gchar *g_dbus_annotation_info_lookup (GDBusAnnotationInfo **annotations,
- const gchar *name);
+ const gchar *name) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
GDBusMethodInfo *g_dbus_interface_info_lookup_method (GDBusInterfaceInfo *info,
- const gchar *name);
+ const gchar *name) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
GDBusSignalInfo *g_dbus_interface_info_lookup_signal (GDBusInterfaceInfo *info,
- const gchar *name);
+ const gchar *name) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
GDBusPropertyInfo *g_dbus_interface_info_lookup_property (GDBusInterfaceInfo *info,
- const gchar *name);
+ const gchar *name) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-void g_dbus_interface_info_cache_build (GDBusInterfaceInfo *info);
+void g_dbus_interface_info_cache_build (GDBusInterfaceInfo *info) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-void g_dbus_interface_info_cache_release (GDBusInterfaceInfo *info);
+void g_dbus_interface_info_cache_release (GDBusInterfaceInfo *info) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
void g_dbus_interface_info_generate_xml (GDBusInterfaceInfo *info,
guint indent,
- GString *string_builder);
+ GString *string_builder) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
GDBusNodeInfo *g_dbus_node_info_new_for_xml (const gchar *xml_data,
- GError **error);
+ GError **error) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
GDBusInterfaceInfo *g_dbus_node_info_lookup_interface (GDBusNodeInfo *info,
- const gchar *name);
+ const gchar *name) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
void g_dbus_node_info_generate_xml (GDBusNodeInfo *info,
guint indent,
- GString *string_builder);
+ GString *string_builder) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-GDBusNodeInfo *g_dbus_node_info_ref (GDBusNodeInfo *info);
+GDBusNodeInfo *g_dbus_node_info_ref (GDBusNodeInfo *info) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-GDBusInterfaceInfo *g_dbus_interface_info_ref (GDBusInterfaceInfo *info);
+GDBusInterfaceInfo *g_dbus_interface_info_ref (GDBusInterfaceInfo *info) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-GDBusMethodInfo *g_dbus_method_info_ref (GDBusMethodInfo *info);
+GDBusMethodInfo *g_dbus_method_info_ref (GDBusMethodInfo *info) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-GDBusSignalInfo *g_dbus_signal_info_ref (GDBusSignalInfo *info);
+GDBusSignalInfo *g_dbus_signal_info_ref (GDBusSignalInfo *info) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-GDBusPropertyInfo *g_dbus_property_info_ref (GDBusPropertyInfo *info);
+GDBusPropertyInfo *g_dbus_property_info_ref (GDBusPropertyInfo *info) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-GDBusArgInfo *g_dbus_arg_info_ref (GDBusArgInfo *info);
+GDBusArgInfo *g_dbus_arg_info_ref (GDBusArgInfo *info) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-GDBusAnnotationInfo *g_dbus_annotation_info_ref (GDBusAnnotationInfo *info);
+GDBusAnnotationInfo *g_dbus_annotation_info_ref (GDBusAnnotationInfo *info) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-void g_dbus_node_info_unref (GDBusNodeInfo *info);
+void g_dbus_node_info_unref (GDBusNodeInfo *info) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-void g_dbus_interface_info_unref (GDBusInterfaceInfo *info);
+void g_dbus_interface_info_unref (GDBusInterfaceInfo *info) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-void g_dbus_method_info_unref (GDBusMethodInfo *info);
+void g_dbus_method_info_unref (GDBusMethodInfo *info) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-void g_dbus_signal_info_unref (GDBusSignalInfo *info);
+void g_dbus_signal_info_unref (GDBusSignalInfo *info) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-void g_dbus_property_info_unref (GDBusPropertyInfo *info);
+void g_dbus_property_info_unref (GDBusPropertyInfo *info) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-void g_dbus_arg_info_unref (GDBusArgInfo *info);
+void g_dbus_arg_info_unref (GDBusArgInfo *info) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-void g_dbus_annotation_info_unref (GDBusAnnotationInfo *info);
+void g_dbus_annotation_info_unref (GDBusAnnotationInfo *info) TIZEN_PUBLIC_DEPRECATED_API;
/**
* G_TYPE_DBUS_NODE_INFO:
@@ -308,19 +309,19 @@ void g_dbus_annotation_info_unref (GDBusAnnotationInfo
#define G_TYPE_DBUS_ANNOTATION_INFO (g_dbus_annotation_info_get_type ())
GIO_AVAILABLE_IN_ALL
-GType g_dbus_node_info_get_type (void) G_GNUC_CONST;
+GType g_dbus_node_info_get_type (void) G_GNUC_CONST TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-GType g_dbus_interface_info_get_type (void) G_GNUC_CONST;
+GType g_dbus_interface_info_get_type (void) G_GNUC_CONST TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-GType g_dbus_method_info_get_type (void) G_GNUC_CONST;
+GType g_dbus_method_info_get_type (void) G_GNUC_CONST TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-GType g_dbus_signal_info_get_type (void) G_GNUC_CONST;
+GType g_dbus_signal_info_get_type (void) G_GNUC_CONST TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-GType g_dbus_property_info_get_type (void) G_GNUC_CONST;
+GType g_dbus_property_info_get_type (void) G_GNUC_CONST TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-GType g_dbus_arg_info_get_type (void) G_GNUC_CONST;
+GType g_dbus_arg_info_get_type (void) G_GNUC_CONST TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-GType g_dbus_annotation_info_get_type (void) G_GNUC_CONST;
+GType g_dbus_annotation_info_get_type (void) G_GNUC_CONST TIZEN_PUBLIC_DEPRECATED_API;
G_END_DECLS
diff --git a/gio/gdbusmenumodel.h b/gio/gdbusmenumodel.h
index 73489b5bb..fedc48935 100644
--- a/gio/gdbusmenumodel.h
+++ b/gio/gdbusmenumodel.h
@@ -23,6 +23,7 @@
#define __G_DBUS_MENU_MODEL_H__
#include <gio/gdbusconnection.h>
+#include <gio/tizen_header_glib.h> /* for TIZEN_PUBLIC_DEPRECATED_API */
G_BEGIN_DECLS
@@ -35,12 +36,12 @@ G_BEGIN_DECLS
typedef struct _GDBusMenuModel GDBusMenuModel;
GIO_AVAILABLE_IN_ALL
-GType g_dbus_menu_model_get_type (void) G_GNUC_CONST;
+GType g_dbus_menu_model_get_type (void) G_GNUC_CONST TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
GDBusMenuModel * g_dbus_menu_model_get (GDBusConnection *connection,
const gchar *bus_name,
- const gchar *object_path);
+ const gchar *object_path) TIZEN_PUBLIC_DEPRECATED_API;
G_END_DECLS
diff --git a/gio/gdbusmessage.h b/gio/gdbusmessage.h
index 643aca074..ffccd6aa8 100644
--- a/gio/gdbusmessage.h
+++ b/gio/gdbusmessage.h
@@ -28,6 +28,7 @@
#endif
#include <gio/giotypes.h>
+#include <gio/tizen_header_glib.h> /* for TIZEN_PUBLIC_DEPRECATED_API */
G_BEGIN_DECLS
@@ -36,169 +37,170 @@ G_BEGIN_DECLS
#define G_IS_DBUS_MESSAGE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), G_TYPE_DBUS_MESSAGE))
GIO_AVAILABLE_IN_ALL
-GType g_dbus_message_get_type (void) G_GNUC_CONST;
+GType g_dbus_message_get_type (void) G_GNUC_CONST TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-GDBusMessage *g_dbus_message_new (void);
+GDBusMessage *g_dbus_message_new (void) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
GDBusMessage *g_dbus_message_new_signal (const gchar *path,
const gchar *interface_,
- const gchar *signal);
+ const gchar *signal) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
GDBusMessage *g_dbus_message_new_method_call (const gchar *name,
const gchar *path,
const gchar *interface_,
- const gchar *method);
+ const gchar *method) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-GDBusMessage *g_dbus_message_new_method_reply (GDBusMessage *method_call_message);
+GDBusMessage *g_dbus_message_new_method_reply (GDBusMessage *method_call_message) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
GDBusMessage *g_dbus_message_new_method_error (GDBusMessage *method_call_message,
const gchar *error_name,
const gchar *error_message_format,
- ...) G_GNUC_PRINTF(3, 4);
+ ...) G_GNUC_PRINTF(3, 4) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
GDBusMessage *g_dbus_message_new_method_error_valist (GDBusMessage *method_call_message,
const gchar *error_name,
const gchar *error_message_format,
- va_list var_args);
+ va_list var_args) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
GDBusMessage *g_dbus_message_new_method_error_literal (GDBusMessage *method_call_message,
const gchar *error_name,
- const gchar *error_message);
+ const gchar *error_message) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
gchar *g_dbus_message_print (GDBusMessage *message,
- guint indent);
+ guint indent) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-gboolean g_dbus_message_get_locked (GDBusMessage *message);
+gboolean g_dbus_message_get_locked (GDBusMessage *message) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-void g_dbus_message_lock (GDBusMessage *message);
+void g_dbus_message_lock (GDBusMessage *message) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
GDBusMessage *g_dbus_message_copy (GDBusMessage *message,
- GError **error);
+ GError **error) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-GDBusMessageByteOrder g_dbus_message_get_byte_order (GDBusMessage *message);
+GDBusMessageByteOrder g_dbus_message_get_byte_order (GDBusMessage *message) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
void g_dbus_message_set_byte_order (GDBusMessage *message,
- GDBusMessageByteOrder byte_order);
+ GDBusMessageByteOrder byte_order) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-GDBusMessageType g_dbus_message_get_message_type (GDBusMessage *message);
+GDBusMessageType g_dbus_message_get_message_type (GDBusMessage *message) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
void g_dbus_message_set_message_type (GDBusMessage *message,
- GDBusMessageType type);
+ GDBusMessageType type) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-GDBusMessageFlags g_dbus_message_get_flags (GDBusMessage *message);
+GDBusMessageFlags g_dbus_message_get_flags (GDBusMessage *message) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
void g_dbus_message_set_flags (GDBusMessage *message,
- GDBusMessageFlags flags);
+ GDBusMessageFlags flags) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-guint32 g_dbus_message_get_serial (GDBusMessage *message);
+guint32 g_dbus_message_get_serial (GDBusMessage *message) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
void g_dbus_message_set_serial (GDBusMessage *message,
- guint32 serial);
+ guint32 serial) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
GVariant *g_dbus_message_get_header (GDBusMessage *message,
- GDBusMessageHeaderField header_field);
+ GDBusMessageHeaderField header_field) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
void g_dbus_message_set_header (GDBusMessage *message,
GDBusMessageHeaderField header_field,
- GVariant *value);
+ GVariant *value) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-guchar *g_dbus_message_get_header_fields (GDBusMessage *message);
+guchar *g_dbus_message_get_header_fields (GDBusMessage *message) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-GVariant *g_dbus_message_get_body (GDBusMessage *message);
+GVariant *g_dbus_message_get_body (GDBusMessage *message) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
void g_dbus_message_set_body (GDBusMessage *message,
- GVariant *body);
+ GVariant *body) TIZEN_PUBLIC_DEPRECATED_API;
#ifdef G_OS_UNIX
GIO_AVAILABLE_IN_ALL
-GUnixFDList *g_dbus_message_get_unix_fd_list (GDBusMessage *message);
+GUnixFDList *g_dbus_message_get_unix_fd_list (GDBusMessage *message) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
void g_dbus_message_set_unix_fd_list (GDBusMessage *message,
- GUnixFDList *fd_list);
+ GUnixFDList *fd_list) TIZEN_PUBLIC_DEPRECATED_API;
#endif /* G_OS_UNIX */
GIO_AVAILABLE_IN_ALL
-guint32 g_dbus_message_get_reply_serial (GDBusMessage *message);
+guint32 g_dbus_message_get_reply_serial (GDBusMessage *message) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
void g_dbus_message_set_reply_serial (GDBusMessage *message,
- guint32 value);
+ guint32 value) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-const gchar *g_dbus_message_get_interface (GDBusMessage *message);
+const gchar *g_dbus_message_get_interface (GDBusMessage *message) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
void g_dbus_message_set_interface (GDBusMessage *message,
- const gchar *value);
+ const gchar *value) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-const gchar *g_dbus_message_get_member (GDBusMessage *message);
+const gchar *g_dbus_message_get_member (GDBusMessage *message) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
void g_dbus_message_set_member (GDBusMessage *message,
- const gchar *value);
+ const gchar *value) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-const gchar *g_dbus_message_get_path (GDBusMessage *message);
+const gchar *g_dbus_message_get_path (GDBusMessage *message) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
void g_dbus_message_set_path (GDBusMessage *message,
- const gchar *value);
+ const gchar *value) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-const gchar *g_dbus_message_get_sender (GDBusMessage *message);
+const gchar *g_dbus_message_get_sender (GDBusMessage *message) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
void g_dbus_message_set_sender (GDBusMessage *message,
- const gchar *value);
+ const gchar *value) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-const gchar *g_dbus_message_get_destination (GDBusMessage *message);
+const gchar *g_dbus_message_get_destination (GDBusMessage *message) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
void g_dbus_message_set_destination (GDBusMessage *message,
- const gchar *value);
+ const gchar *value) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-const gchar *g_dbus_message_get_error_name (GDBusMessage *message);
+const gchar *g_dbus_message_get_error_name (GDBusMessage *message) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
void g_dbus_message_set_error_name (GDBusMessage *message,
- const gchar *value);
+ const gchar *value) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-const gchar *g_dbus_message_get_signature (GDBusMessage *message);
+const gchar *g_dbus_message_get_signature (GDBusMessage *message) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
void g_dbus_message_set_signature (GDBusMessage *message,
- const gchar *value);
+ const gchar *value) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-guint32 g_dbus_message_get_num_unix_fds (GDBusMessage *message);
+guint32 g_dbus_message_get_num_unix_fds (GDBusMessage *message) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
void g_dbus_message_set_num_unix_fds (GDBusMessage *message,
- guint32 value);
+ guint32 value) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-const gchar *g_dbus_message_get_arg0 (GDBusMessage *message);
+const gchar *g_dbus_message_get_arg0 (GDBusMessage *message) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_2_80
-const gchar *g_dbus_message_get_arg0_path (GDBusMessage *message);
+const gchar *g_dbus_message_get_arg0_path (GDBusMessage *message) TIZEN_PUBLIC_DEPRECATED_API;
+
GIO_AVAILABLE_IN_ALL
GDBusMessage *g_dbus_message_new_from_blob (guchar *blob,
gsize blob_len,
GDBusCapabilityFlags capabilities,
- GError **error);
+ GError **error) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
gssize g_dbus_message_bytes_needed (guchar *blob,
gsize blob_len,
- GError **error);
+ GError **error) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
guchar *g_dbus_message_to_blob (GDBusMessage *message,
gsize *out_size,
GDBusCapabilityFlags capabilities,
- GError **error);
+ GError **error) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
gboolean g_dbus_message_to_gerror (GDBusMessage *message,
- GError **error);
+ GError **error) TIZEN_PUBLIC_DEPRECATED_API;
G_END_DECLS
diff --git a/gio/gdbusmethodinvocation.h b/gio/gdbusmethodinvocation.h
index 6266f38a3..eecef0329 100644
--- a/gio/gdbusmethodinvocation.h
+++ b/gio/gdbusmethodinvocation.h
@@ -28,6 +28,7 @@
#endif
#include <gio/giotypes.h>
+#include <gio/tizen_header_glib.h> /* for TIZEN_PUBLIC_DEPRECATED_API */
G_BEGIN_DECLS
@@ -71,65 +72,65 @@ G_BEGIN_DECLS
#define G_DBUS_METHOD_INVOCATION_UNHANDLED FALSE GIO_AVAILABLE_MACRO_IN_2_68
GIO_AVAILABLE_IN_ALL
-GType g_dbus_method_invocation_get_type (void) G_GNUC_CONST;
+GType g_dbus_method_invocation_get_type (void) G_GNUC_CONST TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-const gchar *g_dbus_method_invocation_get_sender (GDBusMethodInvocation *invocation);
+const gchar *g_dbus_method_invocation_get_sender (GDBusMethodInvocation *invocation) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-const gchar *g_dbus_method_invocation_get_object_path (GDBusMethodInvocation *invocation);
+const gchar *g_dbus_method_invocation_get_object_path (GDBusMethodInvocation *invocation) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-const gchar *g_dbus_method_invocation_get_interface_name (GDBusMethodInvocation *invocation);
+const gchar *g_dbus_method_invocation_get_interface_name (GDBusMethodInvocation *invocation) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-const gchar *g_dbus_method_invocation_get_method_name (GDBusMethodInvocation *invocation);
+const gchar *g_dbus_method_invocation_get_method_name (GDBusMethodInvocation *invocation) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-const GDBusMethodInfo *g_dbus_method_invocation_get_method_info (GDBusMethodInvocation *invocation);
+const GDBusMethodInfo *g_dbus_method_invocation_get_method_info (GDBusMethodInvocation *invocation) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_2_38
-const GDBusPropertyInfo *g_dbus_method_invocation_get_property_info (GDBusMethodInvocation *invocation);
+const GDBusPropertyInfo *g_dbus_method_invocation_get_property_info (GDBusMethodInvocation *invocation) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-GDBusConnection *g_dbus_method_invocation_get_connection (GDBusMethodInvocation *invocation);
+GDBusConnection *g_dbus_method_invocation_get_connection (GDBusMethodInvocation *invocation) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-GDBusMessage *g_dbus_method_invocation_get_message (GDBusMethodInvocation *invocation);
+GDBusMessage *g_dbus_method_invocation_get_message (GDBusMethodInvocation *invocation) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-GVariant *g_dbus_method_invocation_get_parameters (GDBusMethodInvocation *invocation);
+GVariant *g_dbus_method_invocation_get_parameters (GDBusMethodInvocation *invocation) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-gpointer g_dbus_method_invocation_get_user_data (GDBusMethodInvocation *invocation);
+gpointer g_dbus_method_invocation_get_user_data (GDBusMethodInvocation *invocation) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
void g_dbus_method_invocation_return_value (GDBusMethodInvocation *invocation,
- GVariant *parameters);
+ GVariant *parameters) TIZEN_PUBLIC_DEPRECATED_API;
#ifdef G_OS_UNIX
GIO_AVAILABLE_IN_ALL
void g_dbus_method_invocation_return_value_with_unix_fd_list (GDBusMethodInvocation *invocation,
GVariant *parameters,
- GUnixFDList *fd_list);
+ GUnixFDList *fd_list) TIZEN_PUBLIC_DEPRECATED_API;
#endif /* G_OS_UNIX */
GIO_AVAILABLE_IN_ALL
void g_dbus_method_invocation_return_error (GDBusMethodInvocation *invocation,
GQuark domain,
gint code,
const gchar *format,
- ...) G_GNUC_PRINTF(4, 5);
+ ...) G_GNUC_PRINTF(4, 5) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
void g_dbus_method_invocation_return_error_valist (GDBusMethodInvocation *invocation,
GQuark domain,
gint code,
const gchar *format,
va_list var_args)
- G_GNUC_PRINTF(4, 0);
+ G_GNUC_PRINTF(4, 0) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
void g_dbus_method_invocation_return_error_literal (GDBusMethodInvocation *invocation,
GQuark domain,
gint code,
- const gchar *message);
+ const gchar *message) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
void g_dbus_method_invocation_return_gerror (GDBusMethodInvocation *invocation,
- const GError *error);
+ const GError *error) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
void g_dbus_method_invocation_take_error (GDBusMethodInvocation *invocation,
- GError *error);
+ GError *error) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
void g_dbus_method_invocation_return_dbus_error (GDBusMethodInvocation *invocation,
const gchar *error_name,
- const gchar *error_message);
+ const gchar *error_message) TIZEN_PUBLIC_DEPRECATED_API;
G_END_DECLS
diff --git a/gio/gdbusnameowning.h b/gio/gdbusnameowning.h
index 2afd3ee73..c5d04d0e0 100644
--- a/gio/gdbusnameowning.h
+++ b/gio/gdbusnameowning.h
@@ -28,6 +28,7 @@
#endif
#include <gio/giotypes.h>
+#include <gio/tizen_header_glib.h> /* for TIZEN_PUBLIC_DEPRECATED_API */
G_BEGIN_DECLS
@@ -82,7 +83,7 @@ guint g_bus_own_name (GBusType bus_type,
GBusNameAcquiredCallback name_acquired_handler,
GBusNameLostCallback name_lost_handler,
gpointer user_data,
- GDestroyNotify user_data_free_func);
+ GDestroyNotify user_data_free_func) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
guint g_bus_own_name_on_connection (GDBusConnection *connection,
@@ -91,7 +92,7 @@ guint g_bus_own_name_on_connection (GDBusConnection *connection,
GBusNameAcquiredCallback name_acquired_handler,
GBusNameLostCallback name_lost_handler,
gpointer user_data,
- GDestroyNotify user_data_free_func);
+ GDestroyNotify user_data_free_func) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
guint g_bus_own_name_with_closures (GBusType bus_type,
@@ -99,7 +100,7 @@ guint g_bus_own_name_with_closures (GBusType bus_type,
GBusNameOwnerFlags flags,
GClosure *bus_acquired_closure,
GClosure *name_acquired_closure,
- GClosure *name_lost_closure);
+ GClosure *name_lost_closure) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
guint g_bus_own_name_on_connection_with_closures (
@@ -107,10 +108,10 @@ guint g_bus_own_name_on_connection_with_closures (
const gchar *name,
GBusNameOwnerFlags flags,
GClosure *name_acquired_closure,
- GClosure *name_lost_closure);
+ GClosure *name_lost_closure) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-void g_bus_unown_name (guint owner_id);
+void g_bus_unown_name (guint owner_id) TIZEN_PUBLIC_DEPRECATED_API;
G_END_DECLS
diff --git a/gio/gdbusnamewatching.h b/gio/gdbusnamewatching.h
index df836deb5..d13e53aec 100644
--- a/gio/gdbusnamewatching.h
+++ b/gio/gdbusnamewatching.h
@@ -28,6 +28,7 @@
#endif
#include <gio/giotypes.h>
+#include <gio/tizen_header_glib.h> /* for TIZEN_PUBLIC_DEPRECATED_API */
G_BEGIN_DECLS
@@ -74,7 +75,7 @@ guint g_bus_watch_name (GBusType bus_type,
GBusNameAppearedCallback name_appeared_handler,
GBusNameVanishedCallback name_vanished_handler,
gpointer user_data,
- GDestroyNotify user_data_free_func);
+ GDestroyNotify user_data_free_func) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
guint g_bus_watch_name_on_connection (GDBusConnection *connection,
const gchar *name,
@@ -82,22 +83,22 @@ guint g_bus_watch_name_on_connection (GDBusConnection *connection,
GBusNameAppearedCallback name_appeared_handler,
GBusNameVanishedCallback name_vanished_handler,
gpointer user_data,
- GDestroyNotify user_data_free_func);
+ GDestroyNotify user_data_free_func) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
guint g_bus_watch_name_with_closures (GBusType bus_type,
const gchar *name,
GBusNameWatcherFlags flags,
GClosure *name_appeared_closure,
- GClosure *name_vanished_closure);
+ GClosure *name_vanished_closure) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
guint g_bus_watch_name_on_connection_with_closures (
GDBusConnection *connection,
const gchar *name,
GBusNameWatcherFlags flags,
GClosure *name_appeared_closure,
- GClosure *name_vanished_closure);
+ GClosure *name_vanished_closure) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-void g_bus_unwatch_name (guint watcher_id);
+void g_bus_unwatch_name (guint watcher_id) TIZEN_PUBLIC_DEPRECATED_API;
G_END_DECLS
diff --git a/gio/gdbusobject.h b/gio/gdbusobject.h
index b8186afc4..990edacf7 100644
--- a/gio/gdbusobject.h
+++ b/gio/gdbusobject.h
@@ -24,6 +24,7 @@
#define __G_DBUS_OBJECT_H__
#include <gio/giotypes.h>
+#include <gio/tizen_header_glib.h> /* for TIZEN_PUBLIC_DEPRECATED_API */
G_BEGIN_DECLS
@@ -66,14 +67,14 @@ struct _GDBusObjectIface
};
GIO_AVAILABLE_IN_ALL
-GType g_dbus_object_get_type (void) G_GNUC_CONST;
+GType g_dbus_object_get_type (void) G_GNUC_CONST TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-const gchar *g_dbus_object_get_object_path (GDBusObject *object);
+const gchar *g_dbus_object_get_object_path (GDBusObject *object) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-GList *g_dbus_object_get_interfaces (GDBusObject *object);
+GList *g_dbus_object_get_interfaces (GDBusObject *object) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
GDBusInterface *g_dbus_object_get_interface (GDBusObject *object,
- const gchar *interface_name);
+ const gchar *interface_name) TIZEN_PUBLIC_DEPRECATED_API;
G_END_DECLS
diff --git a/gio/gdbusobjectmanager.h b/gio/gdbusobjectmanager.h
index 7bfa2ae02..665e44379 100644
--- a/gio/gdbusobjectmanager.h
+++ b/gio/gdbusobjectmanager.h
@@ -24,6 +24,7 @@
#define __G_DBUS_OBJECT_MANAGER_H__
#include <gio/giotypes.h>
+#include <gio/tizen_header_glib.h> /* for TIZEN_PUBLIC_DEPRECATED_API */
G_BEGIN_DECLS
@@ -78,18 +79,18 @@ struct _GDBusObjectManagerIface
};
GIO_AVAILABLE_IN_ALL
-GType g_dbus_object_manager_get_type (void) G_GNUC_CONST;
+GType g_dbus_object_manager_get_type (void) G_GNUC_CONST TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-const gchar *g_dbus_object_manager_get_object_path (GDBusObjectManager *manager);
+const gchar *g_dbus_object_manager_get_object_path (GDBusObjectManager *manager) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-GList *g_dbus_object_manager_get_objects (GDBusObjectManager *manager);
+GList *g_dbus_object_manager_get_objects (GDBusObjectManager *manager) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
GDBusObject *g_dbus_object_manager_get_object (GDBusObjectManager *manager,
- const gchar *object_path);
+ const gchar *object_path) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
GDBusInterface *g_dbus_object_manager_get_interface (GDBusObjectManager *manager,
const gchar *object_path,
- const gchar *interface_name);
+ const gchar *interface_name) TIZEN_PUBLIC_DEPRECATED_API;
G_END_DECLS
diff --git a/gio/gdbusobjectmanagerclient.h b/gio/gdbusobjectmanagerclient.h
index f02c69389..1522b7a77 100644
--- a/gio/gdbusobjectmanagerclient.h
+++ b/gio/gdbusobjectmanagerclient.h
@@ -24,6 +24,7 @@
#define __G_DBUS_OBJECT_MANAGER_CLIENT_H__
#include <gio/giotypes.h>
+#include <gio/tizen_header_glib.h> /* for TIZEN_PUBLIC_DEPRECATED_API */
G_BEGIN_DECLS
@@ -77,7 +78,7 @@ struct _GDBusObjectManagerClientClass
};
GIO_AVAILABLE_IN_ALL
-GType g_dbus_object_manager_client_get_type (void) G_GNUC_CONST;
+GType g_dbus_object_manager_client_get_type (void) G_GNUC_CONST TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
void g_dbus_object_manager_client_new (GDBusConnection *connection,
GDBusObjectManagerClientFlags flags,
@@ -88,10 +89,10 @@ void g_dbus_object_manager_client_new (G
GDestroyNotify get_proxy_type_destroy_notify,
GCancellable *cancellable,
GAsyncReadyCallback callback,
- gpointer user_data);
+ gpointer user_data) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
GDBusObjectManager *g_dbus_object_manager_client_new_finish (GAsyncResult *res,
- GError **error);
+ GError **error) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
GDBusObjectManager *g_dbus_object_manager_client_new_sync (GDBusConnection *connection,
GDBusObjectManagerClientFlags flags,
@@ -101,7 +102,7 @@ GDBusObjectManager *g_dbus_object_manager_client_new_sync (G
gpointer get_proxy_type_user_data,
GDestroyNotify get_proxy_type_destroy_notify,
GCancellable *cancellable,
- GError **error);
+ GError **error) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
void g_dbus_object_manager_client_new_for_bus (GBusType bus_type,
GDBusObjectManagerClientFlags flags,
@@ -112,10 +113,10 @@ void g_dbus_object_manager_client_new_for_bus (G
GDestroyNotify get_proxy_type_destroy_notify,
GCancellable *cancellable,
GAsyncReadyCallback callback,
- gpointer user_data);
+ gpointer user_data) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
GDBusObjectManager *g_dbus_object_manager_client_new_for_bus_finish (GAsyncResult *res,
- GError **error);
+ GError **error) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
GDBusObjectManager *g_dbus_object_manager_client_new_for_bus_sync (GBusType bus_type,
GDBusObjectManagerClientFlags flags,
@@ -125,15 +126,15 @@ GDBusObjectManager *g_dbus_object_manager_client_new_for_bus_sync (G
gpointer get_proxy_type_user_data,
GDestroyNotify get_proxy_type_destroy_notify,
GCancellable *cancellable,
- GError **error);
+ GError **error) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-GDBusConnection *g_dbus_object_manager_client_get_connection (GDBusObjectManagerClient *manager);
+GDBusConnection *g_dbus_object_manager_client_get_connection (GDBusObjectManagerClient *manager) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-GDBusObjectManagerClientFlags g_dbus_object_manager_client_get_flags (GDBusObjectManagerClient *manager);
+GDBusObjectManagerClientFlags g_dbus_object_manager_client_get_flags (GDBusObjectManagerClient *manager) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-const gchar *g_dbus_object_manager_client_get_name (GDBusObjectManagerClient *manager);
+const gchar *g_dbus_object_manager_client_get_name (GDBusObjectManagerClient *manager) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-gchar *g_dbus_object_manager_client_get_name_owner (GDBusObjectManagerClient *manager);
+gchar *g_dbus_object_manager_client_get_name_owner (GDBusObjectManagerClient *manager) TIZEN_PUBLIC_DEPRECATED_API;
G_END_DECLS
diff --git a/gio/gdbusobjectmanagerserver.h b/gio/gdbusobjectmanagerserver.h
index a4b7418fb..2b7ae452b 100644
--- a/gio/gdbusobjectmanagerserver.h
+++ b/gio/gdbusobjectmanagerserver.h
@@ -24,6 +24,7 @@
#define __G_DBUS_OBJECT_MANAGER_SERVER_H__
#include <gio/giotypes.h>
+#include <gio/tizen_header_glib.h> /* for TIZEN_PUBLIC_DEPRECATED_API */
G_BEGIN_DECLS
@@ -61,26 +62,26 @@ struct _GDBusObjectManagerServerClass
};
GIO_AVAILABLE_IN_ALL
-GType g_dbus_object_manager_server_get_type (void) G_GNUC_CONST;
+GType g_dbus_object_manager_server_get_type (void) G_GNUC_CONST TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-GDBusObjectManagerServer *g_dbus_object_manager_server_new (const gchar *object_path);
+GDBusObjectManagerServer *g_dbus_object_manager_server_new (const gchar *object_path) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-GDBusConnection *g_dbus_object_manager_server_get_connection (GDBusObjectManagerServer *manager);
+GDBusConnection *g_dbus_object_manager_server_get_connection (GDBusObjectManagerServer *manager) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
void g_dbus_object_manager_server_set_connection (GDBusObjectManagerServer *manager,
- GDBusConnection *connection);
+ GDBusConnection *connection) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
void g_dbus_object_manager_server_export (GDBusObjectManagerServer *manager,
- GDBusObjectSkeleton *object);
+ GDBusObjectSkeleton *object) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
void g_dbus_object_manager_server_export_uniquely (GDBusObjectManagerServer *manager,
- GDBusObjectSkeleton *object);
+ GDBusObjectSkeleton *object) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
gboolean g_dbus_object_manager_server_is_exported (GDBusObjectManagerServer *manager,
- GDBusObjectSkeleton *object);
+ GDBusObjectSkeleton *object) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
gboolean g_dbus_object_manager_server_unexport (GDBusObjectManagerServer *manager,
- const gchar *object_path);
+ const gchar *object_path) TIZEN_PUBLIC_DEPRECATED_API;
G_END_DECLS
diff --git a/gio/gdbusproxy.h b/gio/gdbusproxy.h
index d74cf7595..fc16ba59f 100644
--- a/gio/gdbusproxy.h
+++ b/gio/gdbusproxy.h
@@ -29,6 +29,7 @@
#include <gio/giotypes.h>
#include <gio/gdbusintrospection.h>
+#include <gio/tizen_header_glib.h> /* for TIZEN_PUBLIC_DEPRECATED_API */
G_BEGIN_DECLS
@@ -79,7 +80,7 @@ struct _GDBusProxyClass
};
GIO_AVAILABLE_IN_ALL
-GType g_dbus_proxy_get_type (void) G_GNUC_CONST;
+GType g_dbus_proxy_get_type (void) G_GNUC_CONST TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
void g_dbus_proxy_new (GDBusConnection *connection,
GDBusProxyFlags flags,
@@ -89,10 +90,10 @@ void g_dbus_proxy_new (GDBusConnection *co
const gchar *interface_name,
GCancellable *cancellable,
GAsyncReadyCallback callback,
- gpointer user_data);
+ gpointer user_data) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
GDBusProxy *g_dbus_proxy_new_finish (GAsyncResult *res,
- GError **error);
+ GError **error) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
GDBusProxy *g_dbus_proxy_new_sync (GDBusConnection *connection,
GDBusProxyFlags flags,
@@ -101,7 +102,7 @@ GDBusProxy *g_dbus_proxy_new_sync (GDBusConnection *co
const gchar *object_path,
const gchar *interface_name,
GCancellable *cancellable,
- GError **error);
+ GError **error) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
void g_dbus_proxy_new_for_bus (GBusType bus_type,
GDBusProxyFlags flags,
@@ -111,10 +112,10 @@ void g_dbus_proxy_new_for_bus (GBusType bu
const gchar *interface_name,
GCancellable *cancellable,
GAsyncReadyCallback callback,
- gpointer user_data);
+ gpointer user_data) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
GDBusProxy *g_dbus_proxy_new_for_bus_finish (GAsyncResult *res,
- GError **error);
+ GError **error) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
GDBusProxy *g_dbus_proxy_new_for_bus_sync (GBusType bus_type,
GDBusProxyFlags flags,
@@ -123,38 +124,38 @@ GDBusProxy *g_dbus_proxy_new_for_bus_sync (GBusType bu
const gchar *object_path,
const gchar *interface_name,
GCancellable *cancellable,
- GError **error);
+ GError **error) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-GDBusConnection *g_dbus_proxy_get_connection (GDBusProxy *proxy);
+GDBusConnection *g_dbus_proxy_get_connection (GDBusProxy *proxy) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-GDBusProxyFlags g_dbus_proxy_get_flags (GDBusProxy *proxy);
+GDBusProxyFlags g_dbus_proxy_get_flags (GDBusProxy *proxy) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-const gchar *g_dbus_proxy_get_name (GDBusProxy *proxy);
+const gchar *g_dbus_proxy_get_name (GDBusProxy *proxy) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-gchar *g_dbus_proxy_get_name_owner (GDBusProxy *proxy);
+gchar *g_dbus_proxy_get_name_owner (GDBusProxy *proxy) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-const gchar *g_dbus_proxy_get_object_path (GDBusProxy *proxy);
+const gchar *g_dbus_proxy_get_object_path (GDBusProxy *proxy) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-const gchar *g_dbus_proxy_get_interface_name (GDBusProxy *proxy);
+const gchar *g_dbus_proxy_get_interface_name (GDBusProxy *proxy) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-gint g_dbus_proxy_get_default_timeout (GDBusProxy *proxy);
+gint g_dbus_proxy_get_default_timeout (GDBusProxy *proxy) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
void g_dbus_proxy_set_default_timeout (GDBusProxy *proxy,
- gint timeout_msec);
+ gint timeout_msec) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-GDBusInterfaceInfo *g_dbus_proxy_get_interface_info (GDBusProxy *proxy);
+GDBusInterfaceInfo *g_dbus_proxy_get_interface_info (GDBusProxy *proxy) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
void g_dbus_proxy_set_interface_info (GDBusProxy *proxy,
- GDBusInterfaceInfo *info);
+ GDBusInterfaceInfo *info) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
GVariant *g_dbus_proxy_get_cached_property (GDBusProxy *proxy,
- const gchar *property_name);
+ const gchar *property_name) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
void g_dbus_proxy_set_cached_property (GDBusProxy *proxy,
const gchar *property_name,
- GVariant *value);
+ GVariant *value) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-gchar **g_dbus_proxy_get_cached_property_names (GDBusProxy *proxy);
+gchar **g_dbus_proxy_get_cached_property_names (GDBusProxy *proxy) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
void g_dbus_proxy_call (GDBusProxy *proxy,
const gchar *method_name,
@@ -163,11 +164,11 @@ void g_dbus_proxy_call (GDBusProxy *pr
gint timeout_msec,
GCancellable *cancellable,
GAsyncReadyCallback callback,
- gpointer user_data);
+ gpointer user_data) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
GVariant *g_dbus_proxy_call_finish (GDBusProxy *proxy,
GAsyncResult *res,
- GError **error);
+ GError **error) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
GVariant *g_dbus_proxy_call_sync (GDBusProxy *proxy,
const gchar *method_name,
@@ -175,7 +176,7 @@ GVariant *g_dbus_proxy_call_sync (GDBusProxy *pr
GDBusCallFlags flags,
gint timeout_msec,
GCancellable *cancellable,
- GError **error);
+ GError **error) TIZEN_PUBLIC_DEPRECATED_API;
#ifdef G_OS_UNIX
@@ -188,12 +189,12 @@ void g_dbus_proxy_call_with_unix_fd_list (GDBusProxy
GUnixFDList *fd_list,
GCancellable *cancellable,
GAsyncReadyCallback callback,
- gpointer user_data);
+ gpointer user_data) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
GVariant *g_dbus_proxy_call_with_unix_fd_list_finish (GDBusProxy *proxy,
GUnixFDList **out_fd_list,
GAsyncResult *res,
- GError **error);
+ GError **error) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
GVariant *g_dbus_proxy_call_with_unix_fd_list_sync (GDBusProxy *proxy,
const gchar *method_name,
@@ -203,7 +204,7 @@ GVariant *g_dbus_proxy_call_with_unix_fd_list_sync (GDBusProxy
GUnixFDList *fd_list,
GUnixFDList **out_fd_list,
GCancellable *cancellable,
- GError **error);
+ GError **error) TIZEN_PUBLIC_DEPRECATED_API;
#endif /* G_OS_UNIX */
diff --git a/gio/gdbusserver.h b/gio/gdbusserver.h
index 8d460e360..096e60d48 100644
--- a/gio/gdbusserver.h
+++ b/gio/gdbusserver.h
@@ -28,6 +28,7 @@
#endif
#include <gio/giotypes.h>
+#include <gio/tizen_header_glib.h> /* for TIZEN_PUBLIC_DEPRECATED_API */
G_BEGIN_DECLS
@@ -36,26 +37,26 @@ G_BEGIN_DECLS
#define G_IS_DBUS_SERVER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), G_TYPE_DBUS_SERVER))
GIO_AVAILABLE_IN_ALL
-GType g_dbus_server_get_type (void) G_GNUC_CONST;
+GType g_dbus_server_get_type (void) G_GNUC_CONST TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
GDBusServer *g_dbus_server_new_sync (const gchar *address,
GDBusServerFlags flags,
const gchar *guid,
GDBusAuthObserver *observer,
GCancellable *cancellable,
- GError **error);
+ GError **error) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-const gchar *g_dbus_server_get_client_address (GDBusServer *server);
+const gchar *g_dbus_server_get_client_address (GDBusServer *server) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-const gchar *g_dbus_server_get_guid (GDBusServer *server);
+const gchar *g_dbus_server_get_guid (GDBusServer *server) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-GDBusServerFlags g_dbus_server_get_flags (GDBusServer *server);
+GDBusServerFlags g_dbus_server_get_flags (GDBusServer *server) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-void g_dbus_server_start (GDBusServer *server);
+void g_dbus_server_start (GDBusServer *server) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-void g_dbus_server_stop (GDBusServer *server);
+void g_dbus_server_stop (GDBusServer *server) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-gboolean g_dbus_server_is_active (GDBusServer *server);
+gboolean g_dbus_server_is_active (GDBusServer *server) TIZEN_PUBLIC_DEPRECATED_API;
G_END_DECLS
diff --git a/gio/gdbusutils.h b/gio/gdbusutils.h
index 3003b7165..0181a4d9d 100644
--- a/gio/gdbusutils.h
+++ b/gio/gdbusutils.h
@@ -28,31 +28,32 @@
#endif
#include <gio/giotypes.h>
+#include <gio/tizen_header_glib.h> /* for TIZEN_PUBLIC_DEPRECATED_API */
G_BEGIN_DECLS
GIO_AVAILABLE_IN_ALL
-gboolean g_dbus_is_guid (const gchar *string);
+gboolean g_dbus_is_guid (const gchar *string) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-gchar *g_dbus_generate_guid (void);
+gchar *g_dbus_generate_guid (void) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-gboolean g_dbus_is_name (const gchar *string);
+gboolean g_dbus_is_name (const gchar *string) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-gboolean g_dbus_is_unique_name (const gchar *string);
+gboolean g_dbus_is_unique_name (const gchar *string) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-gboolean g_dbus_is_member_name (const gchar *string);
+gboolean g_dbus_is_member_name (const gchar *string) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
-gboolean g_dbus_is_interface_name (const gchar *string);
+gboolean g_dbus_is_interface_name (const gchar *string) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_2_70
gboolean g_dbus_is_error_name (const gchar *string);
GIO_AVAILABLE_IN_ALL
void g_dbus_gvariant_to_gvalue (GVariant *value,
- GValue *out_gvalue);
+ GValue *out_gvalue) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_ALL
GVariant *g_dbus_gvalue_to_gvariant (const GValue *gvalue,
- const GVariantType *type);
+ const GVariantType *type) TIZEN_PUBLIC_DEPRECATED_API;
GIO_AVAILABLE_IN_2_68
gchar *g_dbus_escape_object_path_bytestring (const guint8 *bytes);
GIO_AVAILABLE_IN_2_68
diff --git a/gio/meson.build b/gio/meson.build
index 59c2b0fc0..e7f0a4445 100644
--- a/gio/meson.build
+++ b/gio/meson.build
@@ -749,6 +749,7 @@ gio_headers = files(
'gzlibdecompressor.h',
'glistmodel.h',
'gliststore.h',
+ 'tizen_header_glib.h',
)
gio_visibility_h = custom_target(
diff --git a/gio/tizen_header_glib.h b/gio/tizen_header_glib.h
new file mode 100644
index 000000000..0501c63ed
--- /dev/null
+++ b/gio/tizen_header_glib.h
@@ -0,0 +1,29 @@
+/*
+ * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General
+ * Public License along with this library; if not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef __TIZEN_HEADER_GLIB_H__
+#define __TIZEN_HEADER_GLIB_H__
+
+#ifndef TIZEN_PUBLIC_DEPRECATED_API
+ #ifdef TIZEN_DEPRECATION
+ #define TIZEN_PUBLIC_DEPRECATED_API __attribute__((__visibility__("default"), deprecated))
+ #else
+ #define TIZEN_PUBLIC_DEPRECATED_API
+ #endif
+#endif
+
+#endif // __TIZEN_HEADER_GLIB_H__