summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2014-01-02 09:27:31 (GMT)
committerRemko Tronçon <git@el-tramo.be>2014-01-03 11:09:06 (GMT)
commit9d787c6337d7080cb32af800a96cf64d43373514 (patch)
tree6ec7c622e0545ef22bf31c0c95f0476f8d2aacce /Sluift/ElementConvertors/PubSubEventCollectionConvertor.cpp
parent26bb5aa9e2f520c3c943797e6143c32e5b16806b (diff)
downloadswift-9d787c6337d7080cb32af800a96cf64d43373514.zip
swift-9d787c6337d7080cb32af800a96cf64d43373514.tar.bz2
Sluift: Document some more elements
Change-Id: I2a755500f0fe88bbea5594ce858bc92dccc34805
Diffstat (limited to 'Sluift/ElementConvertors/PubSubEventCollectionConvertor.cpp')
-rw-r--r--Sluift/ElementConvertors/PubSubEventCollectionConvertor.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/Sluift/ElementConvertors/PubSubEventCollectionConvertor.cpp b/Sluift/ElementConvertors/PubSubEventCollectionConvertor.cpp
index d05b479..fbaa05c 100644
--- a/Sluift/ElementConvertors/PubSubEventCollectionConvertor.cpp
+++ b/Sluift/ElementConvertors/PubSubEventCollectionConvertor.cpp
@@ -61,3 +61,13 @@ void PubSubEventCollectionConvertor::doConvertToLua(lua_State* L, boost::shared_
lua_setfield(L, -2, "associate");
}
}
+
+boost::optional<LuaElementConvertor::Documentation> PubSubEventCollectionConvertor::getDocumentation() const {
+ return Documentation(
+ "PubSubEventCollection",
+ "This table has the following fields:\n\n"
+ "- `node`: string (Optional)\n"
+ "- `disassociate`: @{PubSubEventDisassociate}\n"
+ "- `associate`: @{PubSubEventAssociate}\n"
+ );
+}