mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-13 14:32:04 +00:00
1eb8155fa0
Licence details can be found in the file COPYING. and thank God for sed. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5211 a592a061-630c-0410-9148-cb99ea01b6c8
50 lines
1.1 KiB
C++
50 lines
1.1 KiB
C++
// -*- C++ -*-
|
|
/**
|
|
* \file FormInset.h
|
|
* This file is part of LyX, the document processor.
|
|
* Licence details can be found in the file COPYING.
|
|
*
|
|
* \author Angus Leeming
|
|
*
|
|
* Full author contact details are available in file CREDITS
|
|
*/
|
|
|
|
/* A base class for dialogs connected to insets. This class is temporary in that
|
|
* it has been superceeded by the controller-view split.
|
|
*/
|
|
|
|
#ifndef FORMCOMMAND_H
|
|
#define FORMCOMMAND_H
|
|
|
|
#include "FormBaseDeprecated.h"
|
|
#include "insets/insetcommandparams.h"
|
|
|
|
#include <boost/signals/connection.hpp>
|
|
|
|
#ifdef __GNUG__
|
|
#pragma interface
|
|
#endif
|
|
|
|
class InsetCommand;
|
|
|
|
/** This class is an XForms GUI base class to insets
|
|
*/
|
|
class FormInset : public FormBaseBD {
|
|
protected:
|
|
/// Constructor
|
|
FormInset(LyXView &, Dialogs &, string const &);
|
|
|
|
/// Connect signals. Also perform any necessary initialisation.
|
|
virtual void connect();
|
|
/// Disconnect signals. Also perform any necessary housekeeping.
|
|
virtual void disconnect();
|
|
|
|
/// bool indicates if a buffer switch took place
|
|
virtual void updateSlot(bool);
|
|
|
|
/// inset::hide connection.
|
|
boost::signals::connection ih_;
|
|
};
|
|
|
|
#endif
|