diff options
Diffstat (limited to 'src/xmpp/adhoc_session.hpp')
-rw-r--r-- | src/xmpp/adhoc_session.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/xmpp/adhoc_session.hpp b/src/xmpp/adhoc_session.hpp index 111b43b..ddfb2fe 100644 --- a/src/xmpp/adhoc_session.hpp +++ b/src/xmpp/adhoc_session.hpp @@ -6,6 +6,8 @@ #include <functional> #include <string> +class XmppComponent; + class AdhocCommand; class AdhocSession; @@ -16,7 +18,7 @@ class AdhocSession; * TODO fix this: * It also must call one of step_passed(), cancel() etc on the AdhocSession object. */ -typedef std::function<void(AdhocSession&, XmlNode&)> AdhocStep; +typedef std::function<void(XmppComponent*, AdhocSession&, XmlNode&)> AdhocStep; class AdhocSession { |