Add my copyright to files I've modified.
[synfig.git] / synfig-studio / trunk / src / gtkmm / instance.h
index b7cc495..d5aacfe 100644 (file)
@@ -6,6 +6,7 @@
 **
 **     \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
@@ -55,6 +56,13 @@ class Instance : public synfigapp::Instance
 public:
        typedef std::list< etl::handle<CanvasView> > CanvasViewList;
 
+       enum Status
+       {
+               STATUS_OK,
+               STATUS_ERROR,
+               STATUS_CANCEL
+       };
+
        class CanvasTreeModel : public Gtk::TreeModel::ColumnRecord
        {
        public:
@@ -174,7 +182,7 @@ public:
        //! returns true if the save was successful
        bool dialog_save_as();
 
-       bool save();
+       Status save();
 
        void dialog_cvs_commit();