X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fsrc%2Fgtkmm%2Fvaluelink.h;h=a2d999b5269f314f8d17dcc8d0cd25e841f18ce3;hb=9459638ad6797b8139f1e9f0715c96076dbf0890;hp=85e305d75d587529429a5d9f2030d94a705f9144;hpb=02252941b29de64037116f4d37991a38d9ff0d94;p=synfig.git diff --git a/synfig-studio/trunk/src/gtkmm/valuelink.h b/synfig-studio/trunk/src/gtkmm/valuelink.h index 85e305d..a2d999b 100644 --- a/synfig-studio/trunk/src/gtkmm/valuelink.h +++ b/synfig-studio/trunk/src/gtkmm/valuelink.h @@ -2,19 +2,20 @@ /*! \file valuelink.h ** \brief ValueBase Link Header ** -** $Id: valuelink.h,v 1.1.1.1 2005/01/07 03:34:37 darco Exp $ +** $Id$ ** ** \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 */ /* ========================================================================= */ @@ -44,19 +45,19 @@ class ValueBaseLink : public synfig::LinkableValueNode protected: //stuff I don't want - virtual bool set_link_vfunc(int i,synfig::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(synfig::ValueNode::Handle x) const; list_type::iterator findlink(synfig::ValueNode::Handle x); - + public: //linkable interface - - //stuff I do want + + //stuff I do want 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 synfig::String link_local_name(int i)const; virtual synfig::String link_name(int i)const; @@ -73,7 +74,7 @@ public: virtual void remove(synfig::ValueNode::Handle v); }; - + }; // END of namespace studio /* === E N D =============================================================== */