]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/Menubar.C
Create a grfx::Loader class and so move large chunks of code out of
[lyx.git] / src / frontends / Menubar.C
index 82d5e9d2c2c25c15c91e90be02c388794e440991..156dd056df187deb1bc92e4b7e4136ed5dce5ea4 100644 (file)
@@ -1,10 +1,10 @@
 /* This file is part of
- * ====================================================== 
- * 
+ * ======================================================
+ *
  *           LyX, The Document Processor
  *
  *           Copyright 1995 Matthias Ettrich
- *           Copyright 1995-2000 The LyX Team.
+ *           Copyright 1995-2001 The LyX Team.
  *
  *           This file is Copyright 2000 Jean-Marc Lasgouttes
  *
 #endif
 
 #include "Menubar.h"
+#include "MenuBackend.h"
 #include "Menubar_pimpl.h"
 
-using std::endl;
-
-Menubar::Menubar(LyXView * o, MenuBackend const &md)
+Menubar::Menubar(LyXView * o, MenuBackend const & md)
 {
        pimpl_ = new Pimpl(o, md);
 }
@@ -44,3 +43,9 @@ void Menubar::openByName(string const & name)
 {
        pimpl_->openByName(name);
 }
+
+
+void Menubar::update()
+{
+       pimpl_->update();
+}