X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftags%2Fstable%2Fsrc%2Fsinfg%2Fvaluenode_reference.h;fp=synfig-core%2Ftags%2Fstable%2Fsrc%2Fsinfg%2Fvaluenode_reference.h;h=0000000000000000000000000000000000000000;hb=c5bd5e71f365fe9d1aa42b844f403d3ffc408bec;hp=9ea1cee0c2ecfb58c4a03a7e94c428a36b1fbab3;hpb=842d1c156ee50dc0045a0b0272d090c01965b2f0;p=synfig.git diff --git a/synfig-core/tags/stable/src/sinfg/valuenode_reference.h b/synfig-core/tags/stable/src/sinfg/valuenode_reference.h deleted file mode 100644 index 9ea1cee..0000000 --- a/synfig-core/tags/stable/src/sinfg/valuenode_reference.h +++ /dev/null @@ -1,84 +0,0 @@ -/* === S I N F G =========================================================== */ -/*! \file valuenode_reference.h -** \brief Template Header -** -** $Id: valuenode_reference.h,v 1.1.1.1 2005/01/04 01:23:15 darco Exp $ -** -** \legal -** Copyright (c) 2002 Robert B. Quattlebaum Jr. -** -** This software and associated documentation -** are CONFIDENTIAL and PROPRIETARY property of -** the above-mentioned copyright holder. -** -** You may not copy, print, publish, or in any -** other way distribute this software without -** a prior written agreement with -** the copyright holder. -** \endlegal -*/ -/* ========================================================================= */ - -/* === S T A R T =========================================================== */ - -#ifndef __SINFG_VALUENODE_REFERENCE_H -#define __SINFG_VALUENODE_REFERENCE_H - -/* === H E A D E R S ======================================================= */ - -#include "valuenode.h" - -/* === M A C R O S ========================================================= */ - -/* === C L A S S E S & S T R U C T S ======================================= */ - -namespace sinfg { - -class ValueNode_Reference : public LinkableValueNode -{ - ValueNode::RHandle link_; -public: - typedef etl::handle Handle; - typedef etl::handle ConstHandle; - - ValueNode_Reference(const ValueBase::Type &x); - - ValueNode_Reference(const ValueNode::Handle &x); - -// static Handle create(const ValueBase::Type &x); -// static Handle create(const ValueNode::Handle &x); - - - virtual ValueNode::LooseHandle get_link_vfunc(int i)const; - - virtual int link_count()const; - - virtual String link_name(int i)const; - - virtual String link_local_name(int i)const; - virtual int get_link_index_from_name(const String &name)const; - - virtual ValueBase operator()(Time t)const; - - virtual ~ValueNode_Reference(); - - virtual String get_name()const; - - virtual String get_local_name()const; - -protected: - virtual bool set_link_vfunc(int i,ValueNode::Handle x); - - LinkableValueNode* create_new()const; - -public: - using sinfg::LinkableValueNode::set_link_vfunc; - static bool check_type(ValueBase::Type type); - static ValueNode_Reference* create(const ValueBase &x); -}; // END of class ValueNode_Reference - -}; // END of namespace sinfg - -/* === E N D =============================================================== */ - -#endif