lyx_mirror/src/frontends/controllers/ControlFloat.h

44 lines
903 B
C
Raw Normal View History

// -*- C++ -*-
/**
* \file ControlFloat.h
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* \author unknown
*
* Full author contact details are available in file CREDITS
*/
#ifndef CONTROLFLOAT_H
#define CONTROLFLOAT_H
#include "Dialog.h"
#include "insets/insetfloat.h"
/** A controller for Minipage dialogs.
*/
class ControlFloat : public Dialog::Controller {
public:
///
ControlFloat(Dialog &);
///
virtual void initialiseParams(string const & data);
/// clean-up on hide.
virtual void clearParams();
/// clean-up on hide.
virtual void dispatchParams();
///
virtual bool isBufferDependent() const { return true; }
///
InsetFloatParams & params() { return *params_.get(); }
///
InsetFloatParams const & params() const { return *params_.get(); }
private:
///
boost::scoped_ptr<InsetFloatParams> params_;
};
#endif