X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Fsynfig%2Ftime.h;h=3a663e97d45f2ba294dbf5d7eb989e1f4487507d;hb=6fcfeb5b77c28b403b9fecc9bafcde6834447c9a;hp=8e198f6e4b46cce5d58e12c0df00627a42c0a163;hpb=0809ba8eb14cf885c8f197d751c80cced84d9676;p=synfig.git diff --git a/synfig-core/trunk/src/synfig/time.h b/synfig-core/trunk/src/synfig/time.h index 8e198f6..3a663e9 100644 --- a/synfig-core/trunk/src/synfig/time.h +++ b/synfig-core/trunk/src/synfig/time.h @@ -2,7 +2,7 @@ /*! \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 @@ -62,7 +62,7 @@ public: private: value_type value_; - static const value_type epsilon_() { return static_cast(0.0005); } + static value_type epsilon_() { return static_cast(0.0005); } public: Time() { } @@ -98,6 +98,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;