diff options
author | Remko Tronçon <git@el-tramo.be> | 2014-01-18 21:47:05 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2014-01-18 21:54:25 (GMT) |
commit | 4083d6da47ac0e3b77da9c7c222a9439b3e1c04c (patch) | |
tree | 36737e1bc0cdf55e2737c3eadb878bca66d2dcca /Sluift/LuaElementConvertors.cpp | |
parent | d7b86d83de8b9b452243eac841af80cfa4327c03 (diff) | |
download | swift-4083d6da47ac0e3b77da9c7c222a9439b3e1c04c.zip swift-4083d6da47ac0e3b77da9c7c222a9439b3e1c04c.tar.bz2 |
Sluift: Support for common presence payloads
Change-Id: Idb7cd431f20ea69690a105240a5e2aeec1643cec
Diffstat (limited to 'Sluift/LuaElementConvertors.cpp')
-rw-r--r-- | Sluift/LuaElementConvertors.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Sluift/LuaElementConvertors.cpp b/Sluift/LuaElementConvertors.cpp index 71957c1..ba86c06 100644 --- a/Sluift/LuaElementConvertors.cpp +++ b/Sluift/LuaElementConvertors.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013 Remko Tronçon + * Copyright (c) 2013-2014 Remko Tronçon * Licensed under the GNU General Public License. * See the COPYING file for more information. */ @@ -22,6 +22,9 @@ #include <Sluift/ElementConvertors/VCardConvertor.h> #include <Sluift/ElementConvertors/BodyConvertor.h> #include <Sluift/ElementConvertors/CommandConvertor.h> +#include <Sluift/ElementConvertors/StatusShowConvertor.h> +#include <Sluift/ElementConvertors/StatusConvertor.h> +#include <Sluift/ElementConvertors/DelayConvertor.h> #include <Sluift/Lua/LuaUtils.h> #include <Sluift/Lua/Exception.h> @@ -29,6 +32,9 @@ using namespace Swift; LuaElementConvertors::LuaElementConvertors() { registerConvertors(); + convertors.push_back(boost::make_shared<StatusConvertor>()); + convertors.push_back(boost::make_shared<StatusShowConvertor>()); + convertors.push_back(boost::make_shared<DelayConvertor>()); convertors.push_back(boost::make_shared<CommandConvertor>(this)); convertors.push_back(boost::make_shared<PubSubEventConvertor>(this)); convertors.push_back(boost::make_shared<BodyConvertor>()); |