summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Elements/PubSubSubscribeOptions.h')
-rw-r--r--Swiften/Elements/PubSubSubscribeOptions.h35
1 files changed, 16 insertions, 19 deletions
diff --git a/Swiften/Elements/PubSubSubscribeOptions.h b/Swiften/Elements/PubSubSubscribeOptions.h
index 70baa56..c837787 100644
--- a/Swiften/Elements/PubSubSubscribeOptions.h
+++ b/Swiften/Elements/PubSubSubscribeOptions.h
@@ -1,36 +1,33 @@
/*
- * Copyright (c) 2013 Isode Limited.
+ * Copyright (c) 2013-2016 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
#pragma once
-#include <Swiften/Base/Override.h>
#include <Swiften/Base/API.h>
+#include <Swiften/Base/Override.h>
#include <Swiften/Elements/Payload.h>
+namespace Swift {
+ class SWIFTEN_API PubSubSubscribeOptions : public Payload {
+ public:
+ PubSubSubscribeOptions();
+ virtual ~PubSubSubscribeOptions();
-namespace Swift {
- class SWIFTEN_API PubSubSubscribeOptions : public Payload {
- public:
-
- PubSubSubscribeOptions();
-
- virtual ~PubSubSubscribeOptions();
-
- bool isRequired() const {
- return required;
- }
+ bool isRequired() const {
+ return required;
+ }
- void setRequired(bool value) {
- this->required = value ;
- }
+ void setRequired(bool value) {
+ this->required = value ;
+ }
- private:
- bool required;
- };
+ private:
+ bool required;
+ };
}