Use ETL directory separator instead of forward slashes.
[synfig.git] / synfig-studio / trunk / src / synfigapp / canvasinterface.h
index a088852..1d82f05 100644 (file)
@@ -6,6 +6,7 @@
 **
 **     \legal
 **     Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
+**     Copyright (c) 2007, 2008 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
@@ -210,13 +211,13 @@ public:
        etl::loose_handle<Instance> get_instance()const { return instance_; }
 
        //! Changes the name of the canvas. Undoable.
-       bool set_name(const synfig::String &x);
+       void set_name(const synfig::String &x);
 
        //! Changes the description of the canvas. Undoable.
-       bool set_description(const synfig::String &x);
+       void set_description(const synfig::String &x);
 
        //! Changes the ID of the canvas. Undoable.
-       bool set_id(const synfig::String &x);
+       void set_id(const synfig::String &x);
 
        //! Convenience function to retrieve the name of the canvas
        synfig::String get_name()const { return get_canvas()->get_name(); }
@@ -274,8 +275,10 @@ public:
 
 
        void waypoint_duplicate(synfigapp::ValueDesc value_desc,synfig::Waypoint waypoint);
+       void waypoint_duplicate(synfig::ValueNode::Handle value_node,synfig::Waypoint waypoint);
 
        void waypoint_remove(synfigapp::ValueDesc value_desc,synfig::Waypoint waypoint);
+       void waypoint_remove(synfig::ValueNode::Handle value_node,synfig::Waypoint waypoint);
 
        bool change_value(synfigapp::ValueDesc value_desc,synfig::ValueBase new_value);