diff --git a/include/transport/adhoccommand.h b/include/transport/adhoccommand.h index 03bc21b832ae5180ffe88134fff1cd55794eac1d..24dbe8e64929c310fc77ff3caeaf497e710bd82b 100644 --- a/include/transport/adhoccommand.h +++ b/include/transport/adhoccommand.h @@ -28,13 +28,15 @@ namespace Transport { class Component; +class UserManager; +class StorageBackend; class AdHocCommand { public: /// Creates new AdHocManager. /// \param component Transport instance associated with this AdHocManager. - AdHocCommand(Component *component, const Swift::JID &initiator, const Swift::JID &to); + AdHocCommand(Component *component, UserManager *userManager, StorageBackend *storageBackend, const Swift::JID &initiator, const Swift::JID &to); /// Destructor. virtual ~AdHocCommand(); @@ -57,6 +59,8 @@ class AdHocCommand { protected: Component *m_component; + UserManager *m_userManager; + StorageBackend *m_storageBackend; Swift::JID m_initiator; Swift::JID m_to; std::vector m_fields;