X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fsrc%2Fgtkmm%2Fvaluelink.h;h=3720f7414906ec93f5de3fbbfab227e8df6aed74;hb=e7e1794959f6b4af0d60d69b5501adcd305f2207;hp=c270831e34bfc343be8efe641fffc8302ba2c873;hpb=3a3c4bca3a17137bec5d7960560934b91ef4146e;p=synfig.git diff --git a/synfig-studio/trunk/src/gtkmm/valuelink.h b/synfig-studio/trunk/src/gtkmm/valuelink.h index c270831..3720f74 100644 --- a/synfig-studio/trunk/src/gtkmm/valuelink.h +++ b/synfig-studio/trunk/src/gtkmm/valuelink.h @@ -1,4 +1,4 @@ -/* === S I N F G =========================================================== */ +/* === S Y N F I G ========================================================= */ /*! \file valuelink.h ** \brief ValueBase Link Header ** @@ -7,25 +7,26 @@ ** \legal ** Copyright (c) 2004 Adrian Bentley ** -** This software and associated documentation -** are CONFIDENTIAL and PROPRIETARY property of -** the above-mentioned copyright holder. +** This package is free software; you can redistribute it and/or +** modify it under the terms of the GNU General Public License as +** published by the Free Software Foundation; either version 2 of +** the License, or (at your option) any later version. ** -** You may not copy, print, publish, or in any -** other way distribute this software without -** a prior written agreement with -** the copyright holder. +** This package is distributed in the hope that it will be useful, +** but WITHOUT ANY WARRANTY; without even the implied warranty of +** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +** General Public License for more details. ** \endlegal */ /* ========================================================================= */ /* === S T A R T =========================================================== */ -#ifndef __SINFG_VALUELINK_H -#define __SINFG_VALUELINK_H +#ifndef __SYNFIG_VALUELINK_H +#define __SYNFIG_VALUELINK_H /* === H E A D E R S ======================================================= */ -#include +#include /* === M A C R O S ========================================================= */ @@ -37,40 +38,40 @@ namespace studio { /* NOTE: DO NOT USE THE INDEX BASED INTERFACE... THINGS WILL CHANGE */ -class ValueBaseLink : public sinfg::LinkableValueNode +class ValueBaseLink : public synfig::LinkableValueNode { typedef std::vector list_type; list_type list; protected: //stuff I don't want - virtual bool set_link_vfunc(int i,sinfg::ValueNode::Handle x) {return false;} + virtual bool set_link_vfunc(int i,synfig::ValueNode::Handle x) {return false;} virtual LinkableValueNode* create_new()const {return 0;} //new stuff I need - list_type::const_iterator findlink(sinfg::ValueNode::Handle x) const; - list_type::iterator findlink(sinfg::ValueNode::Handle x); + list_type::const_iterator findlink(synfig::ValueNode::Handle x) const; + list_type::iterator findlink(synfig::ValueNode::Handle x); public: //linkable interface //stuff I do want - virtual sinfg::ValueNode::LooseHandle get_link_vfunc(int i)const; + virtual synfig::ValueNode::LooseHandle get_link_vfunc(int i)const; virtual int link_count()const; //I have to support the thing because it's too much work otherwise - virtual sinfg::String link_local_name(int i)const; - virtual sinfg::String link_name(int i)const; + virtual synfig::String link_local_name(int i)const; + virtual synfig::String link_name(int i)const; public: ValueBaseLink(); virtual ~ValueBaseLink(); //don't want - virtual int get_link_index_from_name(const sinfg::String &name)const; + virtual int get_link_index_from_name(const synfig::String &name)const; //new add and subtract stuff - virtual void add(sinfg::ValueNode::Handle v); - virtual void remove(sinfg::ValueNode::Handle v); + virtual void add(synfig::ValueNode::Handle v); + virtual void remove(synfig::ValueNode::Handle v); };