]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/Dialogs.h
update copyright year
[lyx.git] / src / frontends / Dialogs.h
index 3007748b638bddeffb87983bd038733935f888d6..97cd57e610b42c171340c400fc7f15e805ff17b6 100644 (file)
@@ -8,7 +8,7 @@
  *           LyX, The Document Processor
  *
  *           Copyright 1995 Matthias Ettrich
- *           Copyright 1995-2000 The LyX Team.
+ *           Copyright 1995-2001 The LyX Team.
  *
  *           This file Copyright 2000
  *           Allan Rae
@@ -30,7 +30,6 @@
 #endif
 
 #include "DialogBase.h"
-#include "support/LAssert.h"
 
 // Maybe this should be a UIFunc modelled on LyXFunc
 class LyXView;
@@ -44,12 +43,13 @@ class InsetInclude;
 class InsetInfo;
 class InsetTabular;
 class InsetCommand;
+class InsetMinipage;
 
 /** Container of all dialogs and signals a LyXView needs or uses to access them
     The list of dialog signals isn't comprehensive but should be a good guide
     for any future additions.  Remember don't go overboard -- think minimal.
  */
-class Dialogs : public noncopyable
+class Dialogs : boost::noncopyable
 {
 public:
        ///
@@ -60,13 +60,13 @@ public:
        Dialogs(LyXView *);
        //@}
 
-       /** Redraw all visible popups because, for example, the GUI colours
+       /** Redraw all visible dialogs because, for example, the GUI colours
            have been re-mapped. */
        static SigC::Signal0<void> redrawGUI;
 
        /**@name Global Hide and Update Signals */
        //@{
-       /// Hide all visible popups
+       /// Hide all visible dialogs
        SigC::Signal0<void> hideAll;
        
        /// Hide any dialogs that require a buffer for them to operate
@@ -124,6 +124,8 @@ public:
        SigC::Signal0<void> showVCLogFile;
        /// show the LaTeX log or build file
        SigC::Signal0<void> showLogFile;
+       /// display the top-level maths panel
+       SigC::Signal0<void> showMathPanel;
        ///
        SigC::Signal0<void> showPreamble;
        ///
@@ -147,6 +149,10 @@ public:
        ///
        SigC::Signal0<void> showTabularCreate;
        ///
+       SigC::Signal1<void, InsetMinipage *> showMinipage;
+       ///
+       SigC::Signal1<void, InsetMinipage *> updateMinipage;
+       ///
        SigC::Signal1<void, InsetCommand *> showTOC;
        ///
        SigC::Signal1<void, string const &> createTOC;
@@ -166,15 +172,4 @@ private:
        boost::scoped_ptr<DialogBase> splash_;
 };
 
-inline void Dialogs::add(DialogBase * ptr)
-{
-       Assert(ptr);
-       dialogs_.push_back(db_ptr(ptr));
-}
-
-inline void Dialogs::destroySplash()
-{
-       splash_.reset();
-}
-
 #endif