projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make stdout quieter.
[synfig.git]
/
synfig-studio
/
trunk
/
src
/
gtkmm
/
instance.h
diff --git
a/synfig-studio/trunk/src/gtkmm/instance.h
b/synfig-studio/trunk/src/gtkmm/instance.h
index
2768fac
..
4c23d38
100644
(file)
--- a/
synfig-studio/trunk/src/gtkmm/instance.h
+++ b/
synfig-studio/trunk/src/gtkmm/instance.h
@@
-55,6
+55,13
@@
class Instance : public synfigapp::Instance
public:
typedef std::list< etl::handle<CanvasView> > CanvasViewList;
public:
typedef std::list< etl::handle<CanvasView> > CanvasViewList;
+ enum Status
+ {
+ STATUS_OK,
+ STATUS_ERROR,
+ STATUS_CANCEL
+ };
+
class CanvasTreeModel : public Gtk::TreeModel::ColumnRecord
{
public:
class CanvasTreeModel : public Gtk::TreeModel::ColumnRecord
{
public:
@@
-171,9
+178,10
@@
public:
bool save_as(const synfig::String &filename);
//! Opens a "Save As" dialog, and then saves the composition to that file
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();
+
Status
save();
void dialog_cvs_commit();
void dialog_cvs_commit();