]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormInset.h
Really dull and boring header shit
[lyx.git] / src / frontends / xforms / FormInset.h
1 // -*- C++ -*-
2 /**
3  * \file FormInset.h
4  * Read the file COPYING
5  *
6  * \author Angus Leeming 
7  *
8  * Full author contact details are available in file CREDITS
9  */
10
11 /* A base class for dialogs connected to insets. This class is temporary in that
12  * it has been superceeded by the controller-view split.
13  */
14
15 #ifndef FORMCOMMAND_H
16 #define FORMCOMMAND_H
17
18 #include "FormBaseDeprecated.h"
19 #include "insets/insetcommandparams.h"
20
21 #include <boost/signals/connection.hpp>
22
23 #ifdef __GNUG__
24 #pragma interface
25 #endif
26
27 class InsetCommand;
28
29 /** This class is an XForms GUI base class to insets
30  */
31 class FormInset : public FormBaseBD {
32 protected:
33         /// Constructor
34         FormInset(LyXView &, Dialogs &, string const &);
35
36         /// Connect signals. Also perform any necessary initialisation.
37         virtual void connect();
38         /// Disconnect signals. Also perform any necessary housekeeping.
39         virtual void disconnect();
40
41         /// bool indicates if a buffer switch took place
42         virtual void updateSlot(bool);
43
44         /// inset::hide connection.
45         boost::signals::connection ih_;
46 };
47
48 #endif