summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Markmann <tm@ayena.de>2016-03-15 12:21:59 (GMT)
committerTobias Markmann <tm@ayena.de>2016-03-17 16:48:24 (GMT)
commiteb71745d7767f45d2a6242b71c5d0354a2d42387 (patch)
treed7f3a7f2d56f0a3a42049fbc596210de7848f71c /Sluift/ElementConvertors/PubSubEventSubscriptionConvertor.h
parent6159c580884583bad0e17d4e96ea9ffc7e0be29a (diff)
downloadswift-eb71745d7767f45d2a6242b71c5d0354a2d42387.zip
swift-eb71745d7767f45d2a6242b71c5d0354a2d42387.tar.bz2
Cleanup #pragma pollution in Sluift element convertors
There were a lot #pramas to ignore unused private field warnings. The pragmas and the unused fields have been removed. Test-Information: Build on OS X 10.11.3 with XCode Clang. Change-Id: Ie2f5398771088f93631c0f2c03d3cfdcca94cee6
Diffstat (limited to 'Sluift/ElementConvertors/PubSubEventSubscriptionConvertor.h')
-rw-r--r--Sluift/ElementConvertors/PubSubEventSubscriptionConvertor.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/Sluift/ElementConvertors/PubSubEventSubscriptionConvertor.h b/Sluift/ElementConvertors/PubSubEventSubscriptionConvertor.h
index c254e34..837a03b 100644
--- a/Sluift/ElementConvertors/PubSubEventSubscriptionConvertor.h
+++ b/Sluift/ElementConvertors/PubSubEventSubscriptionConvertor.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2013 Isode Limited.
+ * Copyright (c) 2013-2016 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
@@ -7,23 +7,20 @@
#pragma once
#include <Swiften/Base/Override.h>
+#include <Swiften/Elements/PubSubEventSubscription.h>
#include <Sluift/GenericLuaElementConvertor.h>
-#include <Swiften/Elements/PubSubEventSubscription.h>
namespace Swift {
class LuaElementConvertors;
class PubSubEventSubscriptionConvertor : public GenericLuaElementConvertor<PubSubEventSubscription> {
public:
- PubSubEventSubscriptionConvertor(LuaElementConvertors* convertors);
+ PubSubEventSubscriptionConvertor();
virtual ~PubSubEventSubscriptionConvertor();
virtual boost::shared_ptr<PubSubEventSubscription> doConvertFromLua(lua_State*) SWIFTEN_OVERRIDE;
virtual void doConvertToLua(lua_State*, boost::shared_ptr<PubSubEventSubscription>) SWIFTEN_OVERRIDE;
virtual boost::optional<Documentation> getDocumentation() const SWIFTEN_OVERRIDE;
-
- private:
- LuaElementConvertors* convertors;
};
}