3 * \file Menubar_pimpl.h
4 * Copyright 2002 the LyX Team
5 * Read the file COPYING
7 * \author Lars Gullik Bjønnes <larsbj@lyx.org>
8 * \author John Levon <moz@compsoc.man.ac.uk>
12 #ifndef MENUBAR_PIMPL_H
13 #define MENUBAR_PIMPL_H
17 #include <boost/smart_ptr.hpp>
26 #include "frontends/Menubar.h"
27 #include "commandtags.h"
28 //#include "MenuBackend.h"
37 struct Menubar::Pimpl {
40 Pimpl(LyXView *, MenuBackend const &);
41 /// Opens a top-level submenu given its name
42 void openByName(string const &);
44 /// update the state of the menuitems
48 void makeMenu(QMenuData * parent, MenuItem const & menu);
52 MenuBackend const & menubackend_;