#ifndef __TIZEN_SYSTEM_TOUCHSCREEN_INTERNAL_H__
#define __TIZEN_SYSTEM_TOUCHSCREEN_INTERNAL_H__
-#include <gio/gio.h>
-#include <libsyscommon/libgdbus.h>
+#include <glib.h>
+
+/**
+ * @brief Called when a dbus callback is received.
+ * @details If async dbus call is successful, the callback will be invoked with a valid GVariant object to @a var.
+ * @since_tizen 7.0
+ * @param[out] var If var is set to NULL, it means that the callback is invoked with an error.
+ * @param[out] user_data The user data passed to callback
+ * @param[out] GError Error information
+ * @see device_touchscreen_enable()
+ * @see device_touchscreen_disable()
+ */
+typedef void (*touchscreen_pending_cb)(GVariant *var, void *user_data, GError *err);
/**
* @brief Enables the current device's touchscreen device to start.
* @endcode
* @see device_touchscreen_disable()
*/
-int device_touchscreen_enable(dbus_pending_cb cb);
+int device_touchscreen_enable(touchscreen_pending_cb cb);
/**
* @brief Disables the current device's touchscreen device to stop.
* @endcode
* @see device_touchscreen_enable()
*/
-int device_touchscreen_disable(dbus_pending_cb cb);
+int device_touchscreen_disable(touchscreen_pending_cb cb);
#endif
BuildRequires: pkgconfig(capi-system-info)
BuildRequires: pkgconfig(dlog)
BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gio-2.0)
BuildRequires: pkgconfig(tracker)
BuildRequires: pkgconfig(libsyscommon)
BuildRequires: lcov
%endif
+Requires: pkgconfig(glib-2.0)
+
%description
A Device library in TIZEN C API package.