summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Elements/Priority.h')
-rw-r--r--Swiften/Elements/Priority.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/Swiften/Elements/Priority.h b/Swiften/Elements/Priority.h
index eb4683f..12181d4 100644
--- a/Swiften/Elements/Priority.h
+++ b/Swiften/Elements/Priority.h
@@ -4,14 +4,15 @@
* See Documentation/Licenses/GPLv3.txt for more information.
*/
-#ifndef SWIFTEN_Priority_H
-#define SWIFTEN_Priority_H
+#pragma once
#include "Swiften/Elements/Payload.h"
namespace Swift {
class Priority : public Payload {
public:
+ typedef boost::shared_ptr<Priority> ref;
+
Priority(int priority = 0) : priority_(priority) {
}
@@ -27,5 +28,3 @@ namespace Swift {
int priority_;
};
}
-
-#endif