]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetbranch.h
changelogs
[lyx.git] / src / insets / insetbranch.h
index f76465c2c970cf72cd41d174c9349fd5f0268714..9d5d3cd48ce0fe65a6c8c1b457b5c915c62b19c3 100644 (file)
@@ -37,13 +37,9 @@ class InsetBranch : public InsetCollapsable {
 public:
        ///
        InsetBranch(BufferParams const &, InsetBranchParams const &);
-       /// Copy constructor
-       InsetBranch(InsetBranch const &);
        ///
        ~InsetBranch();
        ///
-       virtual std::auto_ptr<InsetBase> clone() const;
-       ///
        std::string const editMessage() const;
        ///
        InsetOld::Code lyxCode() const { return InsetOld::BRANCH_CODE; }
@@ -80,13 +76,13 @@ public:
        bool isBranchSelected(BranchList const & branchlist) const;
 
 protected:
-       ///
-       virtual
-       DispatchResult
-       priv_dispatch(FuncRequest const &, idx_type &, pos_type &);
+       InsetBranch(InsetBranch const &);
+       virtual void doDispatch(LCursor & cur, FuncRequest & cmd);
 private:
        friend class InsetBranchParams;
 
+       virtual std::auto_ptr<InsetBase> doClone() const;
+
        /// used by the constructors
        void init();
        ///