diff options
author | Remko Tronçon <git@el-tramo.be> | 2011-03-01 20:57:03 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2011-03-01 21:25:56 (GMT) |
commit | 182dc1c6cbed6ac2bbe297f856650367e0f12ba7 (patch) | |
tree | f9f683e6688683eed559f37d2dfa2ed0966a89c1 /Swiften | |
parent | 48389cafdbf211d70fa56f453c6d3b652482a139 (diff) | |
download | swift-contrib-182dc1c6cbed6ac2bbe297f856650367e0f12ba7.zip swift-contrib-182dc1c6cbed6ac2bbe297f856650367e0f12ba7.tar.bz2 |
Introduce Lua::Value helper.
Diffstat (limited to 'Swiften')
-rw-r--r-- | Swiften/Elements/SoftwareVersion.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Swiften/Elements/SoftwareVersion.h b/Swiften/Elements/SoftwareVersion.h index 26d49b1..5863b38 100644 --- a/Swiften/Elements/SoftwareVersion.h +++ b/Swiften/Elements/SoftwareVersion.h @@ -4,8 +4,7 @@ * See Documentation/Licenses/GPLv3.txt for more information. */ -#ifndef SWIFTEN_SoftwareVersion_H -#define SWIFTEN_SoftwareVersion_H +#pragma once #include "Swiften/Elements/Payload.h" #include <string> @@ -13,6 +12,8 @@ namespace Swift { class SoftwareVersion : public Payload { public: + typedef boost::shared_ptr<SoftwareVersion> ref; + SoftwareVersion( const std::string& name = "", const std::string& version = "", @@ -49,5 +50,3 @@ namespace Swift { std::string os_; }; } - -#endif |