summaryrefslogtreecommitdiff
path: root/src/dbus/server/session-helper.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/dbus/server/session-helper.h')
-rw-r--r--src/dbus/server/session-helper.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/dbus/server/session-helper.h b/src/dbus/server/session-helper.h
index e06b28fd..40d7d4af 100644
--- a/src/dbus/server/session-helper.h
+++ b/src/dbus/server/session-helper.h
@@ -57,14 +57,14 @@ class SessionHelper : public GDBusCXX::DBusObjectHelper,
/** called by main event loop: initiate a sync operation */
void sync(const SessionCommon::SyncParams &params,
- const boost::shared_ptr< GDBusCXX::Result1<bool> > &result);
+ const boost::shared_ptr< GDBusCXX::Result2<bool, SyncReport> > &result);
/**
* called by run(): do the sync operation
* @return true if the helper is meant to terminate
*/
bool doSync(const SessionCommon::SyncParams &params,
- const boost::shared_ptr< GDBusCXX::Result1<bool> > &result);
+ const boost::shared_ptr< GDBusCXX::Result2<bool, SyncReport> > &result);
void restore(const std::string &configName,
const string &dir, bool before, const std::vector<std::string> &sources,
@@ -110,6 +110,9 @@ class SessionHelper : public GDBusCXX::DBusObjectHelper,
std::string, SyncMode,
int32_t, int32_t, int32_t, true> emitSourceProgress;
+ /** SyncContext::m_sourceSyncedSignal */
+ GDBusCXX::EmitSignal2<std::string, SyncSourceReport> emitSourceSynced;
+
/** SyncContext::reportStepCmd -> true/false for "waiting on IO" */
GDBusCXX::EmitSignal1<bool, true> emitWaiting;