]> git.lyx.org Git - features.git/blobdiff - src/frontends/xforms/FormDocument.h
Overhaul the branches code.
[features.git] / src / frontends / xforms / FormDocument.h
index 370b6cb328b4d0896390d748b16a15e25e812db4..3cd5084a785f94334db724fc7530e1c7e60b9197 100644 (file)
@@ -6,14 +6,14 @@
  *
  * \author Jürgen Vigna
  *
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
  */
 
 #ifndef FORM_DOCUMENT_H
 #define FORM_DOCUMENT_H
 
-
 #include "FormBase.h"
+#include "BranchList.h"
 
 #include <boost/scoped_ptr.hpp>
 
@@ -40,7 +40,7 @@ enum GuiColors {
        GUI_COLOR_CHOICE   = FL_FREE_COL15
 };
 
-               
+
 }
 
 
@@ -110,6 +110,9 @@ private:
        ///
        void branch_apply(BufferParams &);
 
+       void rebuild_all_branches_browser();
+       void rebuild_selected_branches_browser();
+
        /// Real GUI implementation.
        boost::scoped_ptr<FD_document_paper>    paper_;
        ///
@@ -123,7 +126,7 @@ private:
        ///
        boost::scoped_ptr<FD_document_branch>   branch_;
        ///
-       boost::scoped_ptr<FormColorpicker> picker_;     
+       boost::scoped_ptr<FormColorpicker> picker_;
        ///
        int ActCell;
        ///
@@ -135,7 +138,7 @@ private:
        ///
        FL_OBJECT * fbullet;
        ///
-       std::vector<string> lang_;
+       std::vector<std::string> lang_;
        /// Contains all legal branches for this doc
        BranchList branchlist_;
 };