Working on 1796971: Make dialog_save_as() return a bool saying whether it saved anyth...
[synfig.git] / synfig-studio / trunk / src / gtkmm / instance.h
index 40c26f2..b7cc495 100644 (file)
@@ -1,8 +1,8 @@
 /* === S Y N F I G ========================================================= */
-/*!    \file instance.h
+/*!    \file gtkmm/instance.h
 **     \brief writeme
 **
-**     $Id: instance.h,v 1.2 2005/01/13 18:37:30 darco Exp $
+**     $Id$
 **
 **     \legal
 **     Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
@@ -37,6 +37,7 @@
 #include <synfig/canvas.h>
 
 /* === M A C R O S ========================================================= */
+#define DEFAULT_FILENAME_PREFIX _("Synfig Animation ") // will be followed by a different number for each document
 
 /* === T Y P E D E F S ===================================================== */
 
@@ -167,12 +168,11 @@ public:
 
        const CanvasViewList & canvas_view_list()const { return canvas_view_list_; }
 
-       bool save_as(const synfig::String &filename)const;
-
        bool save_as(const synfig::String &filename);
 
        //! Opens a "Save As" dialog, and then saves the composition to that file
-       void dialog_save_as();
+       //! returns true if the save was successful
+       bool dialog_save_as();
 
        bool save();