]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/xformsBC.h
dont use pragma impementation and interface anymore
[lyx.git] / src / frontends / xforms / xformsBC.h
1 // -*- C++ -*-
2 /**
3  * \file xformsBC.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author Allan Rae
8  * \author Angus Leeming
9  * \author Baruch Even
10  *
11  * Full author contact details are available in file CREDITS
12  */
13
14 #ifndef XFORMSBC_H
15 #define XFORMSBC_H
16
17 #include "forms_fwd.h"
18
19
20 #include "ButtonController.h"
21
22 class xformsBC : public GuiBC<FL_OBJECT, FL_OBJECT> {
23 public:
24         ///
25         xformsBC(string const &, string const &);
26
27 private:
28         /// Updates the button sensitivity (enabled/disabled)
29         void setButtonEnabled(FL_OBJECT *, bool enabled);
30
31         /// Updates the widget sensitivity (enabled/disabled)
32         void setWidgetEnabled(FL_OBJECT *, bool enabled);
33
34         /// Set the label on the button
35         void setButtonLabel(FL_OBJECT *, string const & label);
36 };
37
38 #endif // XFORMSBC_H