+2000-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
+
+ * src/insets/insetcommand.h: Signals is not copyable so anoter
+ scheme for automatic hiding of forms must be used.
+
+ * src/frontends/xforms/FormCitation.h: don't inerit from
+ noncopyable, FormCommand already does that.
+ * src/frontends/xforms/FormToc.h: ditto
+ * src/frontends/xforms/FormUrl.h: ditto
+
+ * src/frontends/xforms/FormCitation.C: add include <algorithm>
+
2000-08-01 Angus Leeming <a.leeming@ic.ac.uk>
* src/insets/insetcommand.h (hide): new SigC::Signal0
#include FORMS_H_LOCATION
+#include <algorithm>
+
#ifdef __GNUG__
#pragma implementation
#endif
/** This class provides an XForms implementation of the FormCitation Dialog.
*/
-class FormCitation : public FormCommand, public noncopyable {
+class FormCitation : public FormCommand {
public:
///
enum State {
/** This class provides an XForms implementation of the FormToc Dialog.
*/
-class FormToc : public FormCommand, public noncopyable {
+class FormToc : public FormCommand {
public:
/**@name Constructors and Destructors */
//@{
/** This class provides an XForms implementation of the FormUrl Dialog.
*/
-class FormUrl : public FormCommand, public noncopyable {
+class FormUrl : public FormCommand {
public:
/**@name Constructors and Destructors */
//@{
explicit
InsetCommand(InsetCommandParams const &);
///
- virtual ~InsetCommand() { hide(); };
+ virtual ~InsetCommand() { /*hide();*/ };
///
void Write(Buffer const *, std::ostream &) const;
///
void setParams(InsetCommandParams const &);
///
- Signal0<void> hide;
+ //Signal0<void> hide;
private:
///
InsetCommandParams p_;