]> git.lyx.org Git - lyx.git/blobdiff - src/Changes.h
Hide some internals of Changes:
[lyx.git] / src / Changes.h
index 2183adf0404a67161f3e26b673c3a861ebb3e7f6..87fdb712308e41cb6eb70b00949bac6c77167d17 100644 (file)
@@ -58,6 +58,8 @@ public:
        bool deleted() const { return type == DELETED; }
        ///
        void setDeleted() { type = DELETED; }
+       /// Is this change made by the current author ?
+       bool currentAuthor() const { return author == 0; }
 
        Type type;