lyx_mirror/src/frontends/controllers/ControlFloat.h

41 lines
852 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"
class InsetFloatParams;
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