]> git.lyx.org Git - lyx.git/blob - src/frontends/Menubar.C
namespace grfx -> lyx::graphics
[lyx.git] / src / frontends / Menubar.C
1 /**
2  * \file Menubar.C
3  * This file is part of LyX, the document processor.
4  * Licence details can be found in the file COPYING.
5  *
6  * \author Jean-Marc Lasgouttes
7  *
8  * Full author contact details are available in file CREDITS
9  */
10
11 #include <config.h>
12
13
14 #include "Menubar.h"
15 #include "MenuBackend.h"
16 #include "Menubar_pimpl.h"
17
18 Menubar::Menubar(LyXView * o, MenuBackend const & md)
19 {
20         pimpl_ = new Pimpl(o, md);
21 }
22
23
24 Menubar::~Menubar()
25 {
26         delete pimpl_;
27 }
28
29
30 void Menubar::openByName(string const & name)
31 {
32         pimpl_->openByName(name);
33 }
34
35
36 void Menubar::update()
37 {
38         pimpl_->update();
39 }