X-Git-Url: https://git.pterodactylus.net/?p=synfig.git;a=blobdiff_plain;f=synfig-core%2Fsrc%2Fsynfig%2Fvaluenode.h;fp=synfig-core%2Fsrc%2Fsynfig%2Fvaluenode.h;h=830cd304024834c48360b084093512674968f56c;hp=7fde918cba63bd30c089f6846e2ca57a2270c000;hb=dbc88fd05c8d29849d2e6227d23605508eb188ae;hpb=d4cb326591ea23f82d341eb368b3d183b46f56c7 diff --git a/synfig-core/src/synfig/valuenode.h b/synfig-core/src/synfig/valuenode.h index 7fde918..830cd30 100644 --- a/synfig-core/src/synfig/valuenode.h +++ b/synfig-core/src/synfig/valuenode.h @@ -370,7 +370,7 @@ protected: public: //! Returns the number of linked Value Nodes - virtual int link_count()const=0; + virtual int link_count()const; //! Returns the local name of the 'i' linked Value Node virtual String link_local_name(int i)const; @@ -400,6 +400,8 @@ public: virtual Vocab get_children_vocab()const; protected: + //! Member to store the children vocabulary + Vocab children_vocab; //! Sets the type of the ValueNode void set_type(ValueBase::Type t) { ValueNode::set_type(t); } @@ -414,6 +416,9 @@ protected: //! Pure Virtual member to get the children vocabulary virtual Vocab get_children_vocab_vfunc()const=0; + + //! Virtual memebr to set the children vocabulary to a given value + virtual void set_children_vocab(Vocab& rvocab); }; // END of class LinkableValueNode /*! \class ValueNodeList