]> git.lyx.org Git - lyx.git/blobdiff - src/BranchList.h
* doxy
[lyx.git] / src / BranchList.h
index 08a719a1c7cbb0c92076839cf330680eebc25478..21f8d05303d6b4fd86791bbdbe4ea58c14d2613e 100644 (file)
@@ -53,6 +53,12 @@ public:
         *  \return true if the selection status changes.
         */
        bool setSelected(bool);
+       /** If true, the branch name will be appended
+        *  to the output file name.
+        */
+       bool hasFilenameSuffix() const;
+       /// Select/deselect filename suffix property.
+       void setFilenameSuffix(bool);
        ///
        RGBColor const & color() const;
        ///
@@ -71,6 +77,8 @@ private:
        ///
        bool selected_;
        ///
+       bool filenameSuffix_;
+       ///
        RGBColor color_;
 };
 
@@ -111,6 +119,8 @@ public:
         * if a branch with the newname already exists.
         */
        bool rename(docstring const &, docstring const &, bool const merge = false);
+       /// get the complete filename suffix
+       docstring getFilenameSuffix() const;
 
 private:
        ///