summaryrefslogtreecommitdiff
path: root/src/syncevo/ForkExec.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/syncevo/ForkExec.h')
-rw-r--r--src/syncevo/ForkExec.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/syncevo/ForkExec.h b/src/syncevo/ForkExec.h
index 5de1848c..e460e59d 100644
--- a/src/syncevo/ForkExec.h
+++ b/src/syncevo/ForkExec.h
@@ -100,8 +100,16 @@ class ForkExec : private boost::noncopyable {
typedef boost::signals2::signal<void (SyncMLStatus, const std::string &)> OnFailure;
OnFailure m_onFailure;
+ /**
+ * A unique string for the ForkExecParent/Child pair which can be used
+ * as D-Bus path component.
+ */
+ std::string getInstance() const { return m_instance; }
+
protected:
ForkExec();
+
+ std::string m_instance;
};
/**