]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/Toolbar.h
No longer pass Controller & or Dialogs & to the View c-tors.
[lyx.git] / src / frontends / Toolbar.h
index 7fe691d0e15c1a5d9f5f1c33c89085869577ce6d..331024efd092f639243c5f41cccf2b5025f98eb3 100644 (file)
@@ -22,7 +22,7 @@
 
 class LyXView;
 class ToolbarDefaults;
-class Dialogs;
+
 
 /** The LyX GUI independent toolbar class
   The GUI interface is implemented in the corresponding Toolbar_pimpl class.
@@ -30,22 +30,11 @@ class Dialogs;
 class Toolbar {
 public:
        ///
-       Toolbar(LyXView * o, Dialogs & d,
-               int x, int y, ToolbarDefaults const &);
+       Toolbar(LyXView * o, int x, int y, ToolbarDefaults const &);
 
        ///
        ~Toolbar();
 
-       /// (re)sets the toolbar
-       void set(bool doingmain = false);
-
-       /** this is to be the entry point to the toolbar
-         frame, where you can change the toolbar realtime. */
-       void edit();
-       /// add a new button to the toolbar.
-       void add(int , bool doclean = true);
-       /// name of func instead of kb_action
-       void add(string const & , bool doclean = true);
        /// update the state of the icons
        void update();