diff options
author | Patrick Ohly <patrick.ohly@intel.com> | 2013-05-07 16:39:50 +0200 |
---|---|---|
committer | Patrick Ohly <patrick.ohly@intel.com> | 2013-05-16 11:24:48 +0200 |
commit | b6b75de59ba284b0497e450d2bbe76523d1ee523 (patch) | |
tree | f4e30e372d6eb766b9d0c36c82adf4eb230c6243 /src/dbus/server/dbus-sync.cpp | |
parent | d3eee8a0390558795ace8be503b44d76be385b13 (diff) |
PIM: new return value for SyncPeer(), new SyncProgress signal (FDO #63417)
The SyncPeer() result is derived from the sync statistics. To have
them available, the "sync done" signal must include the SyncReport.
Start and end of a sync could already be detected; "modified" signals
while a sync runs depends on a new signal inside the SyncContext when
switching from one cycle to the next and at the end of the last one.
Diffstat (limited to 'src/dbus/server/dbus-sync.cpp')
-rw-r--r-- | src/dbus/server/dbus-sync.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/dbus/server/dbus-sync.cpp b/src/dbus/server/dbus-sync.cpp index 87ebdc19..5303234d 100644 --- a/src/dbus/server/dbus-sync.cpp +++ b/src/dbus/server/dbus-sync.cpp @@ -90,6 +90,9 @@ DBusSync::DBusSync(const SessionCommon::SyncParams ¶ms, SYNC_NONE, 0, 0, 0); } + + // Forward the SourceSyncedSignal via D-Bus. + m_sourceSyncedSignal.connect(boost::bind(m_helper.emitSourceSynced, _1, _2)); } DBusSync::~DBusSync() |