diff options
Diffstat (limited to 'Swiften/Elements/IQ.h')
-rw-r--r-- | Swiften/Elements/IQ.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/Swiften/Elements/IQ.h b/Swiften/Elements/IQ.h index 2bb55e1..e15de24 100644 --- a/Swiften/Elements/IQ.h +++ b/Swiften/Elements/IQ.h @@ -6,15 +6,16 @@ #pragma once +#include <boost/shared_ptr.hpp> + #include "Swiften/Elements/Stanza.h" #include "Swiften/Elements/ErrorPayload.h" -#include "Swiften/Base/Shared.h" -namespace Swift -{ - class IQ : public Stanza, public Shared<IQ> - { - public: +namespace Swift { + class IQ : public Stanza { + public: + typedef boost::shared_ptr<IQ> ref; + enum Type { Get, Set, Result, Error }; IQ(Type type = Get) : type_(type) { } |