Add c_str() methods for synfig::Time and synfig::TimePoint when _DEBUG is defined.
[synfig.git] / synfig-core / trunk / src / synfig / node.h
index 1d52c7f..d60d7d7 100644 (file)
 
 /* === M A C R O S ========================================================= */
 
+// When a PasteCanvas layer has a non-zero 'time offset' parameter, should
+// the waypoints shown for the canvas be adjusted?  This currently only
+// partially works - see the TODO at the end of layer_pastecanvas.cpp
+#define ADJUST_WAYPOINTS_FOR_TIME_OFFSET
+
 /* === T Y P E D E F S ===================================================== */
 
 /* === C L A S S E S & S T R U C T S ======================================= */
@@ -58,6 +63,10 @@ public:
        {
        }
 
+#ifdef _DEBUG
+       const char *c_str()const;
+#endif
+
        const GUID& get_guid()const { return guid; }
        const Time& get_time()const { return time; }
        Interpolation get_before()const { return before; }