Moved the check for whether an instance has a real filename into a new method, since...
[synfig.git] / synfig-studio / trunk / src / gtkmm / instance.h
index d07474a..06a0fa4 100644 (file)
@@ -178,6 +178,9 @@ public:
 
        bool save_as(const synfig::String &filename);
 
+       //! returns true if the instance has a real filename associated with it, rather than the made up "synfig animation 1" or some such
+       bool has_real_filename();
+
        //! Opens a "Save As" dialog, and then saves the composition to that file
        //! returns true if the save was successful
        bool dialog_save_as();