]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/DialogBase.h
try this for distinguishing inner and outer tabs
[lyx.git] / src / frontends / DialogBase.h
index 5ef76e4d1445b4550aecc47bedd5d011a9883ba0..dec7d884f14afede484dc41c3d8366c026d508bb 100644 (file)
@@ -18,6 +18,7 @@
 #define DIALOGBASE_H
 
 #include <sigc++/signal_system.h>
+#include <boost/utility.hpp>
 
 // If we do not want to bring them in global namespace, they could be
 // defined inside DialogBase... (JMarc) 
@@ -25,7 +26,6 @@
 using SigC::Connection;
 using SigC::slot;
 using SigC::Object;
-
 #endif
 
 
@@ -35,7 +35,7 @@ using SigC::Object;
     satisfy that request.  Thus a dialog will have to "pull" the necessary
     details from the core of the program.
  */
-class DialogBase : public Object
+class DialogBase : public Object, public noncopyable
 {
 public:
        /**@name Constructors and Deconstructors */
@@ -51,7 +51,9 @@ public:
        ///
        virtual void hide() = 0;
        ///
-       virtual void update() = 0;
+       virtual void update() {};
+       ///
+       virtual void close() {};
        //@}
 };