Added my "Copyright (c) 2007" notices, for files I edited in 2007.
[synfig.git] / synfig-core / trunk / src / synfig / time.h
index 22b8aa7..ef82b90 100644 (file)
@@ -2,10 +2,11 @@
 /*!    \file time.h
 **     \brief Template Header
 **
-**     $Id: time.h,v 1.1.1.1 2005/01/04 01:23:15 darco Exp $
+**     $Id$
 **
 **     \legal
 **     Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
+**     Copyright (c) 2007 Chris Moore
 **
 **     This package is free software; you can redistribute it and/or
 **     modify it under the terms of the GNU General Public License as
@@ -62,7 +63,7 @@ public:
 private:
        value_type value_;
 
-       static const value_type epsilon_() { return static_cast<value_type>(0.0005); }
+       static value_type epsilon_() { return static_cast<value_type>(0.0005); }
 
 public:
        Time() { }
@@ -75,7 +76,7 @@ public:
 
        //! Constructs Time from the given string.
        /*!     \note If the string references frames, then the
-       **      frame rate (\afps) should be provided from the
+       **      frame rate (\a fps) should be provided from the
        **      correct source. (Which is most likely the RendDesc
        **      of the current Canvas)
        **      The frame count will be ignored if the
@@ -98,6 +99,10 @@ public:
        /*!     \see Format */
        String get_string(float fps=0, Time::Format format=FORMAT_NORMAL)const;
 
+#ifdef _DEBUG
+       const char *c_str()const;
+#endif
+
        //! \writeme
        bool is_valid()const;