mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-11 21:49:51 +00:00
18b220ac99
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7904 a592a061-630c-0410-9148-cb99ea01b6c8
50 lines
1.0 KiB
C++
50 lines
1.0 KiB
C++
// -*- C++ -*-
|
|
/**
|
|
* \file ControlBox.h
|
|
* This file is part of LyX, the document processor.
|
|
* Licence details can be found in the file COPYING.
|
|
*
|
|
* \author Martin Vermeer (with useful hints from Angus Leeming)
|
|
*
|
|
* Full author contact details are available in file CREDITS.
|
|
*/
|
|
|
|
#ifndef CONTROLBOX_H
|
|
#define CONTROLBOX_H
|
|
|
|
|
|
#include "Dialog.h"
|
|
#include <vector>
|
|
|
|
class InsetBoxParams;
|
|
|
|
class ControlBox : public Dialog::Controller {
|
|
public:
|
|
///
|
|
ControlBox(Dialog &);
|
|
///
|
|
virtual bool initialiseParams(std::string const & data);
|
|
///
|
|
virtual void clearParams();
|
|
///
|
|
virtual void dispatchParams();
|
|
///
|
|
virtual bool isBufferDependent() const { return true; }
|
|
///
|
|
InsetBoxParams & params() { return *params_.get(); }
|
|
///
|
|
InsetBoxParams const & params() const { return *params_.get(); }
|
|
///
|
|
private:
|
|
///
|
|
boost::scoped_ptr<InsetBoxParams> params_;
|
|
};
|
|
|
|
///
|
|
void box_gui_tokens(std::vector<std::string> &, std::vector<std::string> &);
|
|
///
|
|
void box_gui_tokens_special_length(std::vector<std::string> &,
|
|
std::vector<std::string> &);
|
|
|
|
#endif // CONTROLBOX_H
|