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
22 class InsetBranchParams;
26 class ControlBranch : public Dialog::Controller {
29 ControlBranch(Dialog &);
31 virtual bool initialiseParams(std::string const & data);
33 virtual void clearParams();
35 virtual void dispatchParams();
37 virtual bool isBufferDependent() const { return true; }
39 InsetBranchParams & params() { return *params_.get(); }
40 InsetBranchParams const & params() const { return *params_.get(); }
42 BranchList const & branchlist() const;
46 boost::scoped_ptr<InsetBranchParams> params_;
49 } // namespace frontend
52 #endif // CONTROLBRANCH_H