Add c_str() methods for synfig::Time and synfig::TimePoint when _DEBUG is defined.
[synfig.git] / synfig-core / trunk / src / synfig / time.h
index 5ea2a89..a11050e 100644 (file)
@@ -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;