diff options
Diffstat (limited to 'Swiften/AdHoc/OutgoingAdHocCommandSession.h')
-rw-r--r-- | Swiften/AdHoc/OutgoingAdHocCommandSession.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Swiften/AdHoc/OutgoingAdHocCommandSession.h b/Swiften/AdHoc/OutgoingAdHocCommandSession.h index 6b80300..5c27022 100644 --- a/Swiften/AdHoc/OutgoingAdHocCommandSession.h +++ b/Swiften/AdHoc/OutgoingAdHocCommandSession.h @@ -29,7 +29,7 @@ namespace Swift { Enabled /** Action is applicable and currently available */ = 2, EnabledAndPresent = 3}; - OutgoingAdHocCommandSession(const DiscoItems::Item& command, IQRouter* iqRouter); + OutgoingAdHocCommandSession(const JID& to, const std::string& commandNode, IQRouter* iqRouter); /** * Send initial request to the target. */ @@ -82,7 +82,8 @@ namespace Swift { void submitForm(Form::ref, Command::Action action); private: - DiscoItems::Item command_; + JID to_; + std::string commandNode_; IQRouter* iqRouter_; bool isMultiStage_; std::string sessionID_; |