Remove .gitignore do nothing is ignored.
[synfig.git] / synfig-core / trunk / src / synfig / valuenode_animated.h
index 97351bd..c153526 100644 (file)
@@ -1,28 +1,29 @@
-/* === S I N F G =========================================================== */
+/* === S Y N F I G ========================================================= */
 /*!    \file valuenode_animated.h
-**     \brief Template Header
+**     \brief Header file for implementation of the "Animated" valuenode conversion.
 **
-**     $Id: valuenode_animated.h,v 1.1.1.1 2005/01/04 01:23:15 darco Exp $
+**     $Id$
 **
 **     \legal
-**     Copyright (c) 2002 Robert B. Quattlebaum Jr.
+**     Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., 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_VALUENODE_ANIMATED_H
-#define __SINFG_VALUENODE_ANIMATED_H
+#ifndef __SYNFIG_VALUENODE_ANIMATED_H
+#define __SYNFIG_VALUENODE_ANIMATED_H
 
 /* === H E A D E R S ======================================================= */
 
@@ -36,7 +37,7 @@
 
 /* === C L A S S E S & S T R U C T S ======================================= */
 
-namespace sinfg {
+namespace synfig {
 
 struct ValueNode_Animated : public ValueNode
 {
@@ -44,9 +45,9 @@ public:
        typedef etl::handle<ValueNode_Animated> Handle;
        typedef etl::handle<const ValueNode_Animated> ConstHandle;
 
-       typedef sinfg::Waypoint Waypoint;
-       typedef sinfg::WaypointList WaypointList;
-       
+       typedef synfig::Waypoint Waypoint;
+       typedef synfig::WaypointList WaypointList;
+
        typedef std::pair<WaypointList::iterator,bool>  findresult;
        typedef std::pair<WaypointList::const_iterator,bool>    const_findresult;
 
@@ -64,22 +65,22 @@ public:
 
        /*! \note this does not add any waypoint to the ValueNode! */
        Waypoint new_waypoint_at_time(const Time& t)const;
-       
+
        WaypointList::iterator add(const Waypoint &x);
 
        void erase(const UniqueID &x);
-       
-       //either use find result (return bool and iterator) or 
+
+       //either use find result (return bool and iterator) or
        findresult                      find_uid(const UniqueID &x);
        const_findresult        find_uid(const UniqueID &x)const;
-       findresult                      find_time(const Time &x);       
+       findresult                      find_time(const Time &x);
        const_findresult        find_time(const Time &x)const;
-               
+
        WaypointList::iterator find(const UniqueID &x);
        WaypointList::const_iterator find(const UniqueID &x)const;
-       WaypointList::iterator find(const Time &x);     
+       WaypointList::iterator find(const Time &x);
        WaypointList::const_iterator find(const Time &x)const;
-       
+
        WaypointList::iterator find_next(const Time &x);
        WaypointList::const_iterator find_next(const Time &x)const;
        WaypointList::iterator find_prev(const Time &x);
@@ -99,7 +100,7 @@ public:
        int find(const Time& begin,const Time& end,std::vector<Waypoint*>& list);
 
        void insert_time(const Time& location, const Time& delta);
-       
+
 protected:
        ValueNode_Animated();
 
@@ -109,7 +110,7 @@ public:
        DCAST_HACK_ID(4);
 };
 
-}; // END of namespace sinfg
+}; // END of namespace synfig
 
 /* === E N D =============================================================== */