3 * \file ControlBranch.h
4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
7 * \author Angus Leeming
8 * \author Martin Vermeer
10 * Full author contact details are available in file CREDITS.
13 #ifndef CONTROLBRANCH_H
14 #define CONTROLBRANCH_H
20 class InsetBranchParams;
25 class ControlBranch : public Dialog::Controller {
28 ControlBranch(Dialog &);
30 virtual bool initialiseParams(std::string const & data);
32 virtual void clearParams();
34 virtual void dispatchParams();
36 virtual bool isBufferDependent() const { return true; }
38 InsetBranchParams & params() { return *params_.get(); }
39 InsetBranchParams const & params() const { return *params_.get(); }
41 BranchList const & branchlist() const;
45 boost::scoped_ptr<InsetBranchParams> params_;
48 } // namespace frontend
51 #endif // CONTROLBRANCH_H