diff options
Diffstat (limited to 'Swiften/Queries/GenericRequest.h')
-rw-r--r-- | Swiften/Queries/GenericRequest.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Swiften/Queries/GenericRequest.h b/Swiften/Queries/GenericRequest.h index b1e7dd3..d6cca1c 100644 --- a/Swiften/Queries/GenericRequest.h +++ b/Swiften/Queries/GenericRequest.h @@ -1,14 +1,15 @@ /* - * Copyright (c) 2010 Isode Limited. + * Copyright (c) 2010-2015 Isode Limited. * All rights reserved. * See the COPYING file for more information. */ #pragma once +#include <Swiften/Base/API.h> #include <Swiften/Base/boost_bsignals.h> #include <Swiften/Queries/Request.h> namespace Swift { /** * GenericRequest is used for managing the sending of, and handling of replies to, iq stanzas that do not have their own Request types. @@ -17,13 +18,13 @@ namespace Swift { * * Having created a GenericRequest, connect to the onResponse signal to be told when a response (either a result or an error) has been received by Swiften. * * To send the iq, then call send() - onResponse will be called when a reply is received. */ template<typename PAYLOAD_TYPE> - class GenericRequest : public Request { + class SWIFTEN_API GenericRequest : public Request { public: typedef boost::shared_ptr<GenericRequest<PAYLOAD_TYPE> > ref; public: /** * Create a request suitable for client use. |