]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetBranch.h
This optional argument to the InsetCollapsable constructor
[lyx.git] / src / insets / InsetBranch.h
index 4d54cfd4df437fc922d1d833696bdb4483f11b68..b608fd19cc1a7a509331095e908eeee5dfed3f5f 100644 (file)
@@ -78,9 +78,13 @@ private:
        ///
        void validate(LaTeXFeatures &) const;
        ///
+       void addToToc(DocIterator const &);
+       ///
        InsetBranchParams const & params() const { return params_; }
        ///
        void setParams(InsetBranchParams const & params) { params_ = params; }
+       ///
+       virtual bool usePlainLayout() { return false; }
 
        /** \returns true if params_.branch is listed as 'selected' in
            \c buffer. This handles the case of child documents.
@@ -100,7 +104,7 @@ private:
        ///
        docstring toolTip(BufferView const & bv, int x, int y) const;
        ///
-       bool useEmptyLayout() const { return false; }
+       bool usePlainLayout() const { return false; }
        ///
        void doDispatch(Cursor & cur, FuncRequest & cmd);
        ///