]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/Toolbar.h
namespace grfx -> lyx::graphics
[lyx.git] / src / frontends / Toolbar.h
index 77c1bd52d92caecb247201c478f6e1202c385565..c12a21b2f925b34a952c36c9ec8a616ace769661 100644 (file)
@@ -1,43 +1,38 @@
 // -*- C++ -*-
-/* This file is part of
- * ======================================================
+/**
+ * \file Toolbar.h
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
- *           LyX, The Document Processor
- *           Copyright 1995 Matthias Ettrich
- *           Copyright 1995-2001 The LyX Team.
+ * \author Lars Gullik Bjønnes
  *
- *           This file is Copyright 1996-2001
- *           Lars Gullik Bjønnes
- *
- * ====================================================== */
+ * Full author contact details are available in file CREDITS
+ */
 
 #ifndef TOOLBAR_H
 #define TOOLBAR_H
 
-#ifdef __GNUG__
-#pragma interface
-#endif
 
 #include "LString.h"
 
 class LyXView;
-class ToolbarDefaults;
-class Dialogs;
 
-/** The LyX GUI independent toolbar class
-  The GUI interface is implemented in the corresponding Toolbar_pimpl class.
-  */
+
+/**
+ * The LyX GUI independent toolbar class
+ *
+ * The GUI interface is implemented in the corresponding Toolbar_pimpl class.
+ */
 class Toolbar {
 public:
        ///
-       Toolbar(LyXView * o, Dialogs & d,
-               int x, int y, ToolbarDefaults const &);
+       Toolbar(LyXView * o, int x, int y);
 
        ///
        ~Toolbar();
 
-       /// update the state of the icons
-       void update();
+       /// update the state of the toolbars
+       void update(bool in_math, bool in_table);
 
        /// update the layout combox
        void setLayout(string const & layout);