Release synfig_0_61_05
[synfig.git] / synfig-core / trunk / src / synfig / time.h
index ca29908..86f66e7 100644 (file)
@@ -1,28 +1,29 @@
-/* === S I N F G =========================================================== */
+/* === S Y N F I G ========================================================= */
 /*!    \file time.h
 **     \brief Template Header
 **
 **     $Id: time.h,v 1.1.1.1 2005/01/04 01:23:15 darco Exp $
 **
 **     \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_TIME_H
-#define __SINFG_TIME_H
+#ifndef __SYNFIG_TIME_H
+#define __SYNFIG_TIME_H
 
 /* === H E A D E R S ======================================================= */
 
@@ -34,7 +35,7 @@
 
 /* === C L A S S E S & S T R U C T S ======================================= */
 
-namespace sinfg {
+namespace synfig {
 
 /*!    \class Time
 **     \todo writeme
@@ -82,16 +83,16 @@ public:
        Time(const String &string, float fps=0);
 
        //! Marks the exclusive negative boundary of time
-       static const Time begin() { return static_cast<sinfg::Time>(-32767.0f*512.0f); }
+       static const Time begin() { return static_cast<synfig::Time>(-32767.0f*512.0f); }
        
        //! Marks the exclusive positive boundary of time
-       static const Time end() { return static_cast<sinfg::Time>(32767.0f*512.0f); }
+       static const Time end() { return static_cast<synfig::Time>(32767.0f*512.0f); }
 
        //! Marks zero time
-       static const Time zero() { return static_cast<sinfg::Time>(0); }
+       static const Time zero() { return static_cast<synfig::Time>(0); }
        
        //! The amount of allowable error in calculations
-       static const Time epsilon() { return static_cast<sinfg::Time>(epsilon_()); }
+       static const Time epsilon() { return static_cast<synfig::Time>(epsilon_()); }
        
        //! Returns a string describing the current time value
        /*!     \see Format */
@@ -157,7 +158,7 @@ inline Time::Format operator|(Time::Format lhs, Time::Format rhs)
 inline bool operator<=(Time::Format lhs, Time::Format rhs)
 { return (static_cast<int>(lhs) & static_cast<int>(rhs))==static_cast<int>(rhs); }
 
-}; // END of namespace sinfg
+}; // END of namespace synfig
        
 /* === E N D =============================================================== */