[gnome-pilot] gnome-pilot.idl -> gpilotd-daemon.xml
- From: Matthew Charles Davey <mcdavey src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-pilot] gnome-pilot.idl -> gpilotd-daemon.xml
- Date: Mon, 9 Aug 2010 08:06:58 +0000 (UTC)
commit e3da497f15d5c580623513119b0cea1738fd8edf
Author: Halton Huo <halton huo sun com>
Date: Fri Feb 26 15:23:37 2010 +0800
gnome-pilot.idl -> gpilotd-daemon.xml
This is beginning of replace bonobo with dbus work.
.gitignore | 7 +-
configure.ac | 2 +
gpilotd/GNOME_Pilot_Daemon.server.in.in | 16 -
gpilotd/Makefile.am | 42 +-
gpilotd/gpilotd-daemon.xml | 811 ++++++++++++
gpilotd/orbit_daemon_glue.c | 2121 -------------------------------
gpilotd/orbit_daemon_glue.h | 112 --
gpilotd/org.gnome.GPilotd.service.in | 3 +
idl/.cvsignore | 2 -
idl/Makefile.am | 4 -
idl/OChangeLog | 51 -
idl/gnome-pilot.idl | 272 ----
12 files changed, 832 insertions(+), 2611 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e7101d7..5e29657 100644
--- a/.gitignore
+++ b/.gitignore
@@ -56,11 +56,11 @@ conduits/file/file.conduit
conduits/file/gpilot-install-file
conduits/file/palm.keys
conduits/test/test.conduit
-gpilotd/GNOME_Pilot_Daemon.server
+gpilotd/org.gnome.GPilotd.service
+gpilotd/gpilotd-daemon-glue.h
gpilotd/gnome-pilot-client-private.h
gpilotd/gnome-pilot-client.c
gpilotd/gnome-pilot-client.h
-gpilotd/gnome-pilot-common.c
gpilotd/gnome-pilot-conduit-backup-private.h
gpilotd/gnome-pilot-conduit-backup.c
gpilotd/gnome-pilot-conduit-backup.h
@@ -73,9 +73,6 @@ gpilotd/gnome-pilot-conduit-standard.c
gpilotd/gnome-pilot-conduit-standard.h
gpilotd/gnome-pilot-conduit.c
gpilotd/gnome-pilot-conduit.h
-gpilotd/gnome-pilot-skels.c
-gpilotd/gnome-pilot-stubs.c
-gpilotd/gnome-pilot.h
gpilotd/gpilotd
gpilotd/gpilotd-session-wrapper
gpilotd/gpmarshal.c
diff --git a/configure.ac b/configure.ac
index 05c1f9f..fba689b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -140,6 +140,7 @@ ORBIT_REQUIRED="ORBit-2.0 >= 2.0.0"
LIBBONOBO_REQUIRED="libbonobo-2.0 >= 2.0.0"
LIBBONOBOUI_REQUIRED="libbonoboui-2.0 >= 2.0.0"
BONOBO_ACTIVATION_REQUIRED="bonobo-activation-2.0 >= 1.0.3"
+DBUS_GLIB_REQUIRED="dbus-glib-1 >= 0.74"
LIBPANELAPPLET_REQUIRED="libpanelapplet-2.0 >= 2.0.6"
GCONF_REQUIRED="gconf-2.0"
@@ -151,6 +152,7 @@ PKG_CHECK_MODULES(GNOME_PILOT,
$LIBBONOBO_REQUIRED
$LIBBONOBOUI_REQUIRED
$ORBIT_REQUIRED
+ $DBUS_GLIB_REQUIRED
$BONOBO_ACTIVATION_REQUIRED
])
diff --git a/gpilotd/Makefile.am b/gpilotd/Makefile.am
index 6d0cfa3..e5edc64 100644
--- a/gpilotd/Makefile.am
+++ b/gpilotd/Makefile.am
@@ -100,30 +100,16 @@ gobfiles = \
#$(GOB_BUILT_SRCS): $(gobfiles)
# @for GF in $(gobfiles); do (echo -n "$(GOB) -w $$GF..." && $(GOB) -w $$GF && echo " ok"); done;
-### IDL and corba grease
-
-idldir = $(datadir)/idl
-
-idl_files = $(top_srcdir)/idl/gnome-pilot.idl
-
-CORBA_SRCLIST = \
- gnome-pilot-common.c \
- gnome-pilot-skels.c \
- gnome-pilot-stubs.c \
- gnome-pilot.h \
+DBUS_SRCLIST = \
+ gpilotd-daemon-glue.h \
$(NULL)
-GPILOTD_ORB_SRCLIST = \
- orbit_daemon_glue.c \
- orbit_daemon_glue.h \
- $(NULL)
-
-$(CORBA_SRCLIST): $(idl_files)
- $(ORBIT_IDL) $(idl_files)
+BUILT_SOURCES = $(DBUS_SRCLIST) $(GOB_BUILT_SRCS) gpmarshal.c gpmarshal.h
-BUILT_SOURCES = $(CORBA_SRCLIST) $(GOB_BUILT_SRCS) gpmarshal.c gpmarshal.h
+gpilotd-daemon-glue.h: gpilotd-daemon.xml Makefile.am
+ dbus-binding-tool --prefix=gdm_daemon --mode=glib-server --output=gpilotd-daemon-glue.h $(srcdir)/gpilotd-daemon.xml
-CLEANFILES = $(CORBA_SRCLIST) $(server_DATA)
+CLEANFILES = $(DBUS_SRCLIST) $(service_DATA)
MAINTAINERCLEANFILES = $(GOB_BUILT_SRCS)
## LIBGPILOTDCM
@@ -213,7 +199,6 @@ gpilotd_SOURCES = \
manager.h \
queue_io.c \
queue_io.h \
- $(GPILOTD_ORB_SRCLIST) \
$(NULL)
gpilotd_LDFLAGS = -export-dynamic
@@ -234,11 +219,12 @@ gpilotd_session_wrapper_LDADD = \
$(NULL)
-serverdir = $(libdir)/bonobo/servers
-server_in_files = GNOME_Pilot_Daemon.server.in.in
-server_DATA = $(server_in_files:.server.in.in=.server)
- GP_SERVER_RULE@
- INTLTOOL_SERVER_RULE@
+servicedir = $(datadir)/dbus-1/servers
+service_DATA = org.gnome.GPilotd.service
+
+org.gnome.GPilotd.service: org.gnome.GPilotd.service.in \
+ Makefile
+ @sed -e "s|[ ]libexecdir[@]|$(libexecdir)|" $< > $@
mimedir = $(datadir)/mime-info
mime_DATA = palm.mime
@@ -247,12 +233,12 @@ devicedir = $(datadir)/gnome-pilot
device_DATA = devices.xml
EXTRA_DIST = \
- GNOME_Pilot_Daemon.server.in.in \
+ org.gnome.GPilotd.service.in \
gpmarshal.list \
gpmarshal.h \
gpmarshal.c \
+ gpilotd-daemon.xml \
$(gobfiles) \
- $(server_in_files) \
$(mime_DATA) \
$(device_DATA) \
$(NULL)
diff --git a/gpilotd/gpilotd-daemon.xml b/gpilotd/gpilotd-daemon.xml
new file mode 100644
index 0000000..62aeb04
--- /dev/null
+++ b/gpilotd/gpilotd-daemon.xml
@@ -0,0 +1,811 @@
+<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
+<node>
+ <interface name="org.gnome.GnomePilot.Daemon">
+ <method name="Pause">
+ <arg name="on_off" direction="in" type="b"/>
+ <doc:doc>
+ <doc:description>
+ <doc:para>This method initiates a request to pause or continue the daemon.</doc:para>
+ </doc:description>
+ </doc:doc>
+ </method>
+
+ <method name="RereadConfig">
+ <doc:doc>
+ <doc:description>
+ <doc:para>This method initiates a request to reload the configuration.</doc:para>
+ </doc:description>
+ </doc:doc>
+ </method>
+
+ <method name="Noop">
+ <doc:doc>
+ <doc:description>
+ <doc:para>This method does nothing, used by client to occasionally check to see if the daemon has blown up.</doc:para>
+ </doc:description>
+ </doc:doc>
+ </method>
+
+ <method name="RequestInstall">
+ <arg name="pilot_id" direction="in" type="s">
+ <doc:doc>
+ <doc:summary>The pilot id</doc:summary>
+ </doc:doc>
+ </arg>
+ <arg name="file_name" direction="in" type="s">
+ <doc:doc>
+ <doc:summary>The file name</doc:summary>
+ </doc:doc>
+ </arg>
+ <arg name="description" direction="in" type="s">
+ <doc:doc>
+ <doc:summary>The description</doc:summary>
+ </doc:doc>
+ </arg>
+ <arg name="survival" direction="in" type="u">
+ <doc:doc>
+ <doc:summary>Indicate how this operation survive. Currently 0 means immediate, 1 means persitent.</doc:summary>
+ </doc:doc>
+ </arg>
+ <arg name="timeout" direction="in" type="u">
+ <doc:doc>
+ <doc:summary>The time out by second.</doc:summary>
+ </doc:doc>
+ </arg>
+ <arg name="handle" direction="out" type="u">
+ <doc:doc>
+ <doc:summary>The returned handler.</doc:summary>
+ </doc:doc>
+ </arg>
+ <doc:doc>
+ <doc:description>
+ <doc:para>This method initiates a request to install a pilot.</doc:para>
+ </doc:description>
+ </doc:doc>
+ </method>
+
+ <method name="RequestRestore">
+ <arg name="pilot_id" direction="in" type="s">
+ <doc:doc>
+ <doc:summary>The pilot id</doc:summary>
+ </doc:doc>
+ </arg>
+ <arg name="directory" direction="in" type="s">
+ <doc:doc>
+ <doc:summary>The pilot directory</doc:summary>
+ </doc:doc>
+ </arg>
+ <arg name="survival" direction="in" type="u">
+ <doc:doc>
+ <doc:summary>Indicate how this operation survive. Currently 0 means immediate, 1 means persitent.</doc:summary>
+ </doc:doc>
+ </arg>
+ <arg name="timeout" direction="in" type="u">
+ <doc:doc>
+ <doc:summary>The time out by second.</doc:summary>
+ </doc:doc>
+ </arg>
+ <arg name="handle" direction="out" type="u">
+ <doc:doc>
+ <doc:summary>The returned handler.</doc:summary>
+ </doc:doc>
+ </arg>
+ <doc:doc>
+ <doc:description>
+ <doc:para>This method initiates a request to restore a pilot.</doc:para>
+ </doc:description>
+ </doc:doc>
+ </method>
+
+ <method name="RequestConduit">
+ <arg name="pilot_id" direction="in" type="s">
+ <doc:doc>
+ <doc:summary>The pilot id</doc:summary>
+ </doc:doc>
+ </arg>
+ <arg name="conduit_name" direction="in" type="s">
+ <doc:doc>
+ <doc:summary>The conduit name</doc:summary>
+ </doc:doc>
+ </arg>
+ <arg name="operation" direction="in" type="u">
+ <doc:doc>
+ <doc:summary>The conduit operation type. Currently support following operations:
+ 0 - SYNCHRONIZE
+ 1 - CONDUIT_DEFAULT
+ 2 - COPY_FROM_PILOT
+ 3 - COPY_TO_PILOT
+ 4 - MERGE_FROM_PILOT
+ 5 - MERGE_TO_PILOT
+ </doc:summary>
+ </doc:doc>
+ </arg>
+ <arg name="survival" direction="in" type="u">
+ <doc:doc>
+ <doc:summary>Indicate how this operation survive. Currently 0 means immediate, 1 means persitent.</doc:summary>
+ </doc:doc>
+ </arg>
+ <arg name="timeout" direction="in" type="u">
+ <doc:doc>
+ <doc:summary>The time out by second.</doc:summary>
+ </doc:doc>
+ </arg>
+ <arg name="handle" direction="out" type="u">
+ <doc:doc>
+ <doc:summary>The returned handler.</doc:summary>
+ </doc:doc>
+ </arg>
+ <doc:doc>
+ <doc:description>
+ <doc:para>This method initiates a request to restore a pilot.</doc:para>
+ </doc:description>
+ </doc:doc>
+ </method>
+
+ <method name="RemoveRequest">
+ <arg name="handle" direction="in" type="u">
+ <doc:doc>
+ <doc:summary>The handler.</doc:summary>
+ </doc:doc>
+ </arg>
+ <doc:doc>
+ <doc:description>
+ <doc:para>This method initiates a request to remove a request.</doc:para>
+ </doc:description>
+ </doc:doc>
+ </method>
+
+ <method name="GetSystemInfo">
+ <arg name="cradle" direction="in" type="s">
+ <doc:doc>
+ <doc:summary>The cradle name.</doc:summary>
+ </doc:doc>
+ </arg>
+ <arg name="survival" direction="in" type="u">
+ <doc:doc>
+ <doc:summary>Indicate how this operation survive. Currently 0 means immediate, 1 means persitent.</doc:summary>
+ </doc:doc>
+ </arg>
+ <arg name="handle" direction="out" type="u">
+ <doc:doc>
+ <doc:summary>The returned handler.</doc:summary>
+ </doc:doc>
+ </arg>
+ <doc:doc>
+ <doc:description>
+ <doc:para>This method initiates a request to get system info.</doc:para>
+ </doc:description>
+ </doc:doc>
+ </method>
+
+ <method name="GetUsers">
+ <arg name="users" direction="out" type="as">
+ <doc:doc>
+ <doc:summary>An array of users.</doc:summary>
+ </doc:doc>
+ </arg>
+ <doc:doc>
+ <doc:description>
+ <doc:para>This method initiates a request to get a list of all the users.</doc:para>
+ </doc:description>
+ </doc:doc>
+ </method>
+
+ <method name="GetCradles">
+ <arg name="cradles" direction="out" type="as">
+ <doc:doc>
+ <doc:summary>An array of cradles.</doc:summary>
+ </doc:doc>
+ </arg>
+ <doc:doc>
+ <doc:description>
+ <doc:para>This method initiates a request to get a list of all the cradles.</doc:para>
+ </doc:description>
+ </doc:doc>
+ </method>
+
+ <method name="GetPilots">
+ <arg name="pilots" direction="out" type="as">
+ <doc:doc>
+ <doc:summary>An array of pilot names.</doc:summary>
+ </doc:doc>
+ </arg>
+ <doc:doc>
+ <doc:description>
+ <doc:para>This method initiates a request to get a list of all the pilot names.</doc:para>
+ </doc:description>
+ </doc:doc>
+ </method>
+
+ <method name="GetPilotIDs">
+ <arg name="pilots" direction="out" type="ai">
+ <doc:doc>
+ <doc:summary>An array of pilot IDs.</doc:summary>
+ </doc:doc>
+ </arg>
+ <doc:doc>
+ <doc:description>
+ <doc:para>This method initiates a request to get a list of all the pilot IDs.</doc:para>
+ </doc:description>
+ </doc:doc>
+ </method>
+
+ <method name="GetPilotsByUserName">
+ <arg name="user" direction="in" type="s">
+ <doc:doc>
+ <doc:summary>The user name.</doc:summary>
+ </doc:doc>
+ </arg>
+ <arg name="pilots" direction="out" type="as">
+ <doc:doc>
+ <doc:summary>An array of pilot names.</doc:summary>
+ </doc:doc>
+ </arg>
+ <doc:doc>
+ <doc:description>
+ <doc:para>This method initiates a request to get a list of all the pilot names by given user name.</doc:para>
+ </doc:description>
+ </doc:doc>
+ </method>
+
+ <method name="GetPilotsByUserLogin">
+ <arg name="uid" direction="in" type="s">
+ <doc:doc>
+ <doc:summary>The user id.</doc:summary>
+ </doc:doc>
+ </arg>
+ <arg name="pilots" direction="out" type="as">
+ <doc:doc>
+ <doc:summary>An array of pilot names.</doc:summary>
+ </doc:doc>
+ </arg>
+ <doc:doc>
+ <doc:description>
+ <doc:para>This method initiates a request to get a list of all the pilot names by given user id.</doc:para>
+ </doc:description>
+ </doc:doc>
+ </method>
+
+ <method name="GetUserNameByPilotName">
+ <arg name="pilot_name" direction="in" type="s">
+ <doc:doc>
+ <doc:summary>The pilot name.</doc:summary>
+ </doc:doc>
+ </arg>
+ <arg name="user" direction="out" type="s">
+ <doc:doc>
+ <doc:summary>The returned user name.</doc:summary>
+ </doc:doc>
+ </arg>
+ <doc:doc>
+ <doc:description>
+ <doc:para>This method initiates a request to get the user name by given pilot name.</doc:para>
+ </doc:description>
+ </doc:doc>
+ </method>
+
+ <method name="GetUserLoginByPilotName">
+ <arg name="pilot_name" direction="in" type="s">
+ <doc:doc>
+ <doc:summary>The pilot name.</doc:summary>
+ </doc:doc>
+ </arg>
+ <arg name="uid" direction="out" type="u">
+ <doc:doc>
+ <doc:summary>The returned user id.</doc:summary>
+ </doc:doc>
+ </arg>
+ <doc:doc>
+ <doc:description>
+ <doc:para>This method initiates a request to get the user id by given pilot name.</doc:para>
+ </doc:description>
+ </doc:doc>
+ </method>
+
+ <method name="GetPilotBaseDir">
+ <arg name="pilot_name" direction="in" type="s">
+ <doc:doc>
+ <doc:summary>The pilot name.</doc:summary>
+ </doc:doc>
+ </arg>
+ <arg name="base_dir" direction="out" type="s">
+ <doc:doc>
+ <doc:summary>The returned base dir.</doc:summary>
+ </doc:doc>
+ </arg>
+ <doc:doc>
+ <doc:description>
+ <doc:para>This method initiates a request to get the base dir by given pilot name.</doc:para>
+ </doc:description>
+ </doc:doc>
+ </method>
+
+ <method name="GetPilotIdFromName">
+ <arg name="pilot_name" direction="in" type="s">
+ <doc:doc>
+ <doc:summary>The pilot name.</doc:summary>
+ </doc:doc>
+ </arg>
+ <arg name="pilot_id" direction="out" type="u">
+ <doc:doc>
+ <doc:summary>The returned pilot id.</doc:summary>
+ </doc:doc>
+ </arg>
+ <doc:doc>
+ <doc:description>
+ <doc:para>This method initiates a request to get the pilot id by given pilot name.</doc:para>
+ </doc:description>
+ </doc:doc>
+ </method>
+
+ <method name="GetPilotNameFromId">
+ <arg name="pilot_id" direction="in" type="u">
+ <doc:doc>
+ <doc:summary>The pilot id.</doc:summary>
+ </doc:doc>
+ </arg>
+ <arg name="pilot_name" direction="out" type="s">
+ <doc:doc>
+ <doc:summary>The returned pilot name.</doc:summary>
+ </doc:doc>
+ </arg>
+ <doc:doc>
+ <doc:description>
+ <doc:para>This method initiates a request to get the pilot name by given pilot id.</doc:para>
+ </doc:description>
+ </doc:doc>
+ </method>
+
+ <method name="GetDatabasesFromCache">
+ <arg name="pilot_name" direction="in" type="s">
+ <doc:doc>
+ <doc:summary>The pilot name.</doc:summary>
+ </doc:doc>
+ </arg>
+ <arg name="databases" direction="out" type="as">
+ <doc:doc>
+ <doc:summary>An array of databases.</doc:summary>
+ </doc:doc>
+ </arg>
+ <doc:doc>
+ <doc:description>
+ <doc:para>This method initiates a request to get databases by given pilot name.</doc:para>
+ </doc:description>
+ </doc:doc>
+ </method>
+
+ <method name="GetUserInfo">
+ <arg name="cradle" direction="in" type="s">
+ <doc:doc>
+ <doc:summary>The cradle name.</doc:summary>
+ </doc:doc>
+ </arg>
+ <arg name="survival" direction="in" type="u">
+ <doc:doc>
+ <doc:summary>Indicate how this operation survive. Currently 0 means immediate, 1 means persitent.</doc:summary>
+ </doc:doc>
+ </arg>
+ <arg name="timeout" direction="in" type="u">
+ <doc:doc>
+ <doc:summary>The time out by second.</doc:summary>
+ </doc:doc>
+ </arg>
+ <arg name="handle" direction="out" type="u">
+ <doc:doc>
+ <doc:summary>The returned handler.</doc:summary>
+ </doc:doc>
+ </arg>
+ <doc:doc>
+ <doc:description>
+ <doc:para>This method initiates a request to get user infos.</doc:para>
+ </doc:description>
+ </doc:doc>
+ </method>
+
+ <method name="SetUserInfo">
+ <arg name="cradle" direction="in" type="s">
+ <doc:doc>
+ <doc:summary>The cradle name.</doc:summary>
+ </doc:doc>
+ </arg>
+ <arg name="continue_sync" direction="in" type="b">
+ <doc:doc>
+ <doc:summary>Indicate whether to continue synchronize.</doc:summary>
+ </doc:doc>
+ </arg>
+ <arg name="survival" direction="in" type="u">
+ <doc:doc>
+ <doc:summary>Indicate how this operation survive. Currently 0 means immediate, 1 means persitent.</doc:summary>
+ </doc:doc>
+ </arg>
+ <arg name="timeout" direction="in" type="u">
+ <doc:doc>
+ <doc:summary>The time out by second.</doc:summary>
+ </doc:doc>
+ </arg>
+ <arg name="uid" direction="out" type="u">
+ <doc:doc>
+ <doc:summary>The returned user id.</doc:summary>
+ </doc:doc>
+ </arg>
+ <arg name="user" direction="out" type="s">
+ <doc:doc>
+ <doc:summary>The returned user name.</doc:summary>
+ </doc:doc>
+ </arg>
+ <arg name="handle" direction="out" type="u">
+ <doc:doc>
+ <doc:summary>The returned handler.</doc:summary>
+ </doc:doc>
+ </arg>
+ <doc:doc>
+ <doc:description>
+ <doc:para>This method initiates a request to set user infos.</doc:para>
+ </doc:description>
+ </doc:doc>
+ </method>
+
+ <method name="Monitor">
+ <arg name="pilot_name" direction="in" type="s">
+ <doc:doc>
+ <doc:summary>The pilot name.</doc:summary>
+ </doc:doc>
+ </arg>
+ <arg name="on" direction="in" type="b">
+ <doc:doc>
+ <doc:summary>Indicate turn monitor on or off.</doc:summary>
+ </doc:doc>
+ </arg>
+ <doc:doc>
+ <doc:description>
+ <doc:para>This method initiates a request to</doc:para>
+ </doc:description>
+ </doc:doc>
+ </method>
+
+ <method name="EventNotify">
+ <arg name="event_type" direction="in" type="u">
+ <doc:doc>
+ <doc:summary>The event type, currently we support following events:
+ 0 - NOTIFY_CONNECT,
+ 1 - NOTIFY_DISCONNECT,
+ 2 - NOTIFY_BACKUP,
+ 3 - NOTIFY_CONDUIT,
+ 4 - NOTIFY_REQUEST_COMPLETION,
+ 5 - NOTIFY_REQUEST_TIMEOUT,
+ 6 - NOTIFY_USERINFO_REQUESTED,
+ 7 - NOTIFY_SYSINFO_REQUESTED,
+ 8 - NOTIFY_USERINFO_SENT
+ </doc:summary>
+ </doc:doc>
+ </arg>
+ <arg name="on" direction="in" type="b">
+ <doc:doc>
+ <doc:summary>Indicate turn monitor on or off.</doc:summary>
+ </doc:doc>
+ </arg>
+ <doc:doc>
+ <doc:description>
+ <doc:para>This method initiates a request to turn on or off a notification of given event.</doc:para>
+ </doc:description>
+ </doc:doc>
+ </method>
+
+ <signal name="Connected">
+ <arg name="pilot_id" type="s">
+ <doc:doc>
+ <doc:summary>The pilot id</doc:summary>
+ </doc:doc>
+ </arg>
+ <arg name="uid" type="u">
+ <doc:doc>
+ <doc:summary>The user id.</doc:summary>
+ </doc:doc>
+ </arg>
+ <arg name="user" type="s">
+ <doc:doc>
+ <doc:summary>The user name.</doc:summary>
+ </doc:doc>
+ </arg>
+ <doc:doc>
+ <doc:description>
+ <doc:para>Emitted when a pilot connected.</doc:para>
+ </doc:description>
+ </doc:doc>
+ </signal>
+
+ <signal name="Disconnected">
+ <arg name="pilot_id" type="s">
+ <doc:doc>
+ <doc:summary>The pilot id</doc:summary>
+ </doc:doc>
+ </arg>
+ <doc:doc>
+ <doc:description>
+ <doc:para>Emitted when a pilot disconnected.</doc:para>
+ </doc:description>
+ </doc:doc>
+ </signal>
+
+ <signal name="RequestCompleted">
+ <arg name="pilot_id" type="s">
+ <doc:doc>
+ <doc:summary>The pilot id</doc:summary>
+ </doc:doc>
+ </arg>
+ <arg name="request_id" type="u">
+ <doc:doc>
+ <doc:summary>The request id.</doc:summary>
+ </doc:doc>
+ </arg>
+ <doc:doc>
+ <doc:description>
+ <doc:para>Emitted when a request completed.</doc:para>
+ </doc:description>
+ </doc:doc>
+ </signal>
+
+ <signal name="UserInfoRequested">
+ <arg name="device" type="s">
+ <doc:doc>
+ <doc:summary>The device</doc:summary>
+ </doc:doc>
+ </arg>
+ <arg name="uid" type="u">
+ <doc:doc>
+ <doc:summary>The user id.</doc:summary>
+ </doc:doc>
+ </arg>
+ <arg name="user" type="s">
+ <doc:doc>
+ <doc:summary>The user name.</doc:summary>
+ </doc:doc>
+ </arg>
+ <doc:doc>
+ <doc:description>
+ <doc:para>Emitted when user info is requested.</doc:para>
+ </doc:description>
+ </doc:doc>
+ </signal>
+
+ <signal name="SysInfoRequested">
+ <arg name="pilot_id" type="s">
+ <doc:doc>
+ <doc:summary>The pilot id</doc:summary>
+ </doc:doc>
+ </arg>
+ <arg name="rom_size" type="i">
+ <doc:doc>
+ <doc:summary>The rom size</doc:summary>
+ </doc:doc>
+ </arg>
+ <arg name="ram_size" type="i">
+ <doc:doc>
+ <doc:summary>The ram size</doc:summary>
+ </doc:doc>
+ </arg>
+ <arg name="ram_free" type="i">
+ <doc:doc>
+ <doc:summary>The free ram size</doc:summary>
+ </doc:doc>
+ </arg>
+ <arg name="name" type="s">
+ <doc:doc>
+ <doc:summary>The name</doc:summary>
+ </doc:doc>
+ </arg>
+ <arg name="manufacturer" type="s">
+ <doc:doc>
+ <doc:summary>The manufacturer</doc:summary>
+ </doc:doc>
+ </arg>
+ <arg name="creation" type="i">
+ <doc:doc>
+ <doc:summary>The creation time</doc:summary>
+ </doc:doc>
+ </arg>
+ <arg name="rom_version" type="i">
+ <doc:doc>
+ <doc:summary>The rom version</doc:summary>
+ </doc:doc>
+ </arg>
+ <doc:doc>
+ <doc:description>
+ <doc:para>Emitted when sys info is requested.</doc:para>
+ </doc:description>
+ </doc:doc>
+ </signal>
+
+ <signal name="ConduitStart">
+ <arg name="pilot_id" type="s">
+ <doc:doc>
+ <doc:summary>The pilot id</doc:summary>
+ </doc:doc>
+ </arg>
+ <arg name="conduit" type="s">
+ <doc:doc>
+ <doc:summary>The conduit name</doc:summary>
+ </doc:doc>
+ </arg>
+ <arg name="database" type="s">
+ <doc:doc>
+ <doc:summary>The database name</doc:summary>
+ </doc:doc>
+ </arg>
+ <doc:doc>
+ <doc:description>
+ <doc:para>Emitted when conduit syncing start, used for progress bar.</doc:para>
+ </doc:description>
+ </doc:doc>
+ </signal>
+
+ <signal name="ConduitProgress">
+ <arg name="pilot_id" type="s">
+ <doc:doc>
+ <doc:summary>The pilot id</doc:summary>
+ </doc:doc>
+ </arg>
+ <arg name="conduit" type="s">
+ <doc:doc>
+ <doc:summary>The conduit name</doc:summary>
+ </doc:doc>
+ </arg>
+ <arg name="current" type="u">
+ <doc:doc>
+ <doc:summary>The current number</doc:summary>
+ </doc:doc>
+ </arg>
+ <arg name="total" type="u">
+ <doc:doc>
+ <doc:summary>The total number</doc:summary>
+ </doc:doc>
+ </arg>
+ <doc:doc>
+ <doc:description>
+ <doc:para>Emitted when conduit syncing in progress, used for progress bar.</doc:para>
+ </doc:description>
+ </doc:doc>
+ </signal>
+
+ <signal name="ConduitEnd">
+ <arg name="pilot_id" type="s">
+ <doc:doc>
+ <doc:summary>The pilot id</doc:summary>
+ </doc:doc>
+ </arg>
+ <arg name="conduit" type="s">
+ <doc:doc>
+ <doc:summary>The conduit name</doc:summary>
+ </doc:doc>
+ </arg>
+ <doc:doc>
+ <doc:description>
+ <doc:para>Emitted when conduit syncing end, used for progress bar.</doc:para>
+ </doc:description>
+ </doc:doc>
+ </signal>
+
+ <signal name="OverallProgress">
+ <arg name="pilot_id" type="s">
+ <doc:doc>
+ <doc:summary>The pilot id</doc:summary>
+ </doc:doc>
+ </arg>
+ <arg name="current" type="u">
+ <doc:doc>
+ <doc:summary>The current number</doc:summary>
+ </doc:doc>
+ </arg>
+ <arg name="total" type="u">
+ <doc:doc>
+ <doc:summary>The total number</doc:summary>
+ </doc:doc>
+ </arg>
+ <doc:doc>
+ <doc:description>
+ <doc:para>Emitted when the overall syncing in progress, used for progress bar.</doc:para>
+ </doc:description>
+ </doc:doc>
+ </signal>
+
+ <signal name="DaemonMessage">
+ <arg name="pilot_id" type="s">
+ <doc:doc>
+ <doc:summary>The pilot id</doc:summary>
+ </doc:doc>
+ </arg>
+ <arg name="conduit" type="s">
+ <doc:doc>
+ <doc:summary>The conduit name</doc:summary>
+ </doc:doc>
+ </arg>
+ <arg name="message" type="s">
+ <doc:doc>
+ <doc:summary>The message</doc:summary>
+ </doc:doc>
+ </arg>
+ <doc:doc>
+ <doc:description>
+ <doc:para>Emitted when a daemon message appears.</doc:para>
+ </doc:description>
+ </doc:doc>
+ </signal>
+
+ <signal name="DaemonError">
+ <arg name="pilot_id" type="s">
+ <doc:doc>
+ <doc:summary>The pilot id</doc:summary>
+ </doc:doc>
+ </arg>
+ <arg name="message" type="s">
+ <doc:doc>
+ <doc:summary>The message</doc:summary>
+ </doc:doc>
+ </arg>
+ <doc:doc>
+ <doc:description>
+ <doc:para>Emitted when a daemon error appears.</doc:para>
+ </doc:description>
+ </doc:doc>
+ </signal>
+
+ <signal name="ConduitMessage">
+ <arg name="pilot_id" type="s">
+ <doc:doc>
+ <doc:summary>The pilot id</doc:summary>
+ </doc:doc>
+ </arg>
+ <arg name="conduit" type="s">
+ <doc:doc>
+ <doc:summary>The conduit name</doc:summary>
+ </doc:doc>
+ </arg>
+ <arg name="message" type="s">
+ <doc:doc>
+ <doc:summary>The message</doc:summary>
+ </doc:doc>
+ </arg>
+ <doc:doc>
+ <doc:description>
+ <doc:para>Emitted when a conduit message appears.</doc:para>
+ </doc:description>
+ </doc:doc>
+ </signal>
+
+ <signal name="ConduitError">
+ <arg name="pilot_id" type="s">
+ <doc:doc>
+ <doc:summary>The pilot id</doc:summary>
+ </doc:doc>
+ </arg>
+ <arg name="conduit" type="s">
+ <doc:doc>
+ <doc:summary>The conduit name</doc:summary>
+ </doc:doc>
+ </arg>
+ <arg name="message" type="s">
+ <doc:doc>
+ <doc:summary>The message</doc:summary>
+ </doc:doc>
+ </arg>
+ <doc:doc>
+ <doc:description>
+ <doc:para>Emitted when a conduit error appears.</doc:para>
+ </doc:description>
+ </doc:doc>
+ </signal>
+
+ <signal name="Paused">
+ <arg name="on" type="b">
+ <doc:doc>
+ <doc:summary>Indicate pause on or off.</doc:summary>
+ </doc:doc>
+ </arg>
+ <doc:doc>
+ <doc:description>
+ <doc:para>Emitted when to pause or unpaused.</doc:para>
+ </doc:description>
+ </doc:doc>
+ </signal>
+ </interface>
+</node>
diff --git a/gpilotd/org.gnome.GPilotd.service.in b/gpilotd/org.gnome.GPilotd.service.in
new file mode 100644
index 0000000..2f7b4f0
--- /dev/null
+++ b/gpilotd/org.gnome.GPilotd.service.in
@@ -0,0 +1,3 @@
+[D-BUS Service]
+Name=org.gnome.GPilotd
+Exec= libexecdir@/gpilotd
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]