Add information about which valuenode types were added in which release. Don't save...
[synfig.git] / synfig-core / trunk / src / synfig / module.h
index 6aab53a..e618820 100644 (file)
@@ -31,6 +31,7 @@
 #include <ETL/handle>
 #include <map>
 #include "string.h"
+#include "releases.h"
 #include <utility>
 #include "vector.h"
 #include "color.h"
 //! Marks the start of the valuenodes in the module's inventory
 #define BEGIN_VALUENODES { synfig::LinkableValueNode::Book &book(synfig::LinkableValueNode::book());
 
-#define VALUENODE(class,name,local)                                                                                                                            \
+#define VALUENODE(class,name,local,version)                                                                                                            \
        book[name].factory=reinterpret_cast<synfig::LinkableValueNode::Factory>(&class::create);        \
        book[name].check_type=&class::check_type;                                                                                                       \
-       book[name].local_name=local;
+       book[name].local_name=local;                                                                                                                            \
+       book[name].release_version=version;
 
 //! Marks the end of the valuenodes in the module's inventory
 #define END_VALUENODES }