X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Fsynfig%2Fvaluenode.h;h=38e5c56d0e39f50083ad8494410f5a3881a22f2e;hb=47a979c060132d120dbc8160aa9ae2e8c9d900c0;hp=62940c3fbeeb6bd2770ffcf560d3529c3f51a114;hpb=f1853221eb20d3c9a8bd72d4fd16f3cea436c894;p=synfig.git diff --git a/synfig-core/trunk/src/synfig/valuenode.h b/synfig-core/trunk/src/synfig/valuenode.h index 62940c3..38e5c56 100644 --- a/synfig-core/trunk/src/synfig/valuenode.h +++ b/synfig-core/trunk/src/synfig/valuenode.h @@ -6,6 +6,7 @@ ** ** \legal ** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley +** Copyright (c) 2008 Chris Moore ** ** This package is free software; you can redistribute it and/or ** modify it under the terms of the GNU General Public License as @@ -30,6 +31,7 @@ #include "vector.h" #include "value.h" #include "string.h" +#include "releases.h" #include #include #include "exception.h" @@ -312,6 +314,7 @@ public: String local_name; Factory factory; CheckType check_type; + ReleaseVersion release_version; // which version of synfig introduced this valuenode type }; typedef std::map Book; @@ -350,7 +353,7 @@ public: ValueNode::LooseHandle get_link(const String &name)const { return get_link(get_link_index_from_name(name)); } String - get_description(int index, bool show_exported_name = true)const; + get_description(int index = -1, bool show_exported_name = true)const; protected: //! Sets the type of the ValueNode