diff options
author | Remko Tronçon <git@el-tramo.be> | 2010-10-15 19:42:01 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2010-10-15 19:42:01 (GMT) |
commit | 9173ea9c7d9e35a6b0fd87ee51a07f4e96b53fd6 (patch) | |
tree | 399911d37b7b7378be12a368717cd7c7142523ef /Swiften/Elements | |
parent | 062658db9f46ef749eeec09c162e5afaf1524ab6 (diff) | |
download | swift-contrib-9173ea9c7d9e35a6b0fd87ee51a07f4e96b53fd6.zip swift-contrib-9173ea9c7d9e35a6b0fd87ee51a07f4e96b53fd6.tar.bz2 |
Added ComponentSession.
Diffstat (limited to 'Swiften/Elements')
-rw-r--r-- | Swiften/Elements/AuthFailure.h | 8 | ||||
-rw-r--r-- | Swiften/Elements/ComponentHandshake.h | 3 |
2 files changed, 5 insertions, 6 deletions
diff --git a/Swiften/Elements/AuthFailure.h b/Swiften/Elements/AuthFailure.h index ff1468e..348a19b 100644 --- a/Swiften/Elements/AuthFailure.h +++ b/Swiften/Elements/AuthFailure.h @@ -4,16 +4,14 @@ * See Documentation/Licenses/GPLv3.txt for more information. */ -#ifndef SWIFTEN_AuthFailure_H -#define SWIFTEN_AuthFailure_H +#pragma once #include "Swiften/Elements/Element.h" +#include "Swiften/Base/Shared.h" namespace Swift { - class AuthFailure : public Element { + class AuthFailure : public Element, public Shared<AuthFailure> { public: AuthFailure() {} }; } - -#endif diff --git a/Swiften/Elements/ComponentHandshake.h b/Swiften/Elements/ComponentHandshake.h index 1067310..d9088e0 100644 --- a/Swiften/Elements/ComponentHandshake.h +++ b/Swiften/Elements/ComponentHandshake.h @@ -8,9 +8,10 @@ #include "Swiften/Elements/Element.h" #include "Swiften/Base/String.h" +#include "Swiften/Base/Shared.h" namespace Swift { - class ComponentHandshake : public Element { + class ComponentHandshake : public Element, public Shared<ComponentHandshake> { public: ComponentHandshake(const String& data = "") : data(data) { } |