aboutsummaryrefslogtreecommitdiffhomepage
path: root/qbuffers.h
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2012-11-16 15:16:48 +0100
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2012-11-16 15:16:48 +0100
commit00ab4e59a8e812986c17fbc09275cfe0583286dc (patch)
tree3759020420e0e6756e9791281e5942f8ea3e723d /qbuffers.h
parent47c7925ca36cbb078391aea90aa2714bdeea949c (diff)
downloadsciteco-00ab4e59a8e812986c17fbc09275cfe0583286dc.tar.gz
support EF and EX arguments. FALSE (>= 0) means to refuse closing/exiting if the current file / any file is dirty (modified)
-EF and -EX may be used to enforce a close/quit without saving
Diffstat (limited to 'qbuffers.h')
-rw-r--r--qbuffers.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/qbuffers.h b/qbuffers.h
index 8ceaffa..01e7ae7 100644
--- a/qbuffers.h
+++ b/qbuffers.h
@@ -275,6 +275,8 @@ public:
Buffer *find(const gchar *filename);
+ bool is_any_dirty(void);
+
bool edit(const gchar *filename);
inline void
undo_edit(void)