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;
23 class ControlBranch : public Dialog::Controller {
26 ControlBranch(Dialog &);
28 virtual bool initialiseParams(std::string const & data);
30 virtual void clearParams();
32 virtual void dispatchParams();
34 virtual bool isBufferDependent() const { return true; }
36 InsetBranchParams & params() { return *params_.get(); }
37 InsetBranchParams const & params() const { return *params_.get(); }
39 BranchList const & branchlist() const;
43 boost::scoped_ptr<InsetBranchParams> params_;
46 #endif // CONTROLBRANCH_H