diff options
author | Remko Tronçon <git@el-tramo.be> | 2011-05-13 22:20:04 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2011-05-13 22:20:04 (GMT) |
commit | 9a6d7a8c18024b400174be8008b9f19c18a8131f (patch) | |
tree | 4461fed0c6386fa865a1eeedecc05a378710c6b1 /Swiften/AdHoc/OutgoingAdHocCommandSession.h | |
parent | e8ce0b8e97466e9fa849da6a8c0a4df77fbd0ddd (diff) | |
download | swift-contrib-9a6d7a8c18024b400174be8008b9f19c18a8131f.zip swift-contrib-9a6d7a8c18024b400174be8008b9f19c18a8131f.tar.bz2 |
Cut dependency from AdHocCommandSession on DiscoItem.
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_; |