2003-08-17 11:28:23 +00:00
|
|
|
// -*- C++ -*-
|
|
|
|
/**
|
|
|
|
* \file ControlBranch.h
|
|
|
|
* This file is part of LyX, the document processor.
|
|
|
|
* Licence details can be found in the file COPYING.
|
|
|
|
*
|
|
|
|
* \author Angus Leeming
|
|
|
|
* \author Martin Vermeer
|
|
|
|
*
|
2003-08-23 00:17:00 +00:00
|
|
|
* Full author contact details are available in file CREDITS.
|
2003-08-17 11:28:23 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef CONTROLBRANCH_H
|
|
|
|
#define CONTROLBRANCH_H
|
|
|
|
|
|
|
|
|
|
|
|
#include "Dialog.h"
|
|
|
|
|
|
|
|
class InsetBranchParams;
|
|
|
|
|
|
|
|
class ControlBranch : public Dialog::Controller {
|
|
|
|
public:
|
|
|
|
///
|
|
|
|
ControlBranch(Dialog &);
|
|
|
|
///
|
2003-10-06 15:43:21 +00:00
|
|
|
virtual bool initialiseParams(std::string const & data);
|
2003-08-17 11:28:23 +00:00
|
|
|
///
|
|
|
|
virtual void clearParams();
|
|
|
|
///
|
|
|
|
virtual void dispatchParams();
|
|
|
|
///
|
|
|
|
virtual bool isBufferDependent() const { return true; }
|
|
|
|
///
|
|
|
|
InsetBranchParams & params() { return *params_.get(); }
|
|
|
|
///
|
|
|
|
InsetBranchParams const & params() const { return *params_.get(); }
|
|
|
|
///
|
|
|
|
private:
|
|
|
|
///
|
|
|
|
boost::scoped_ptr<InsetBranchParams> params_;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // CONTROLBRANCH_H
|