]> git.lyx.org Git - lyx.git/blob - src/frontends/Menubar.C
Lars says _(_(b)) is a bug ... fix
[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 #ifdef __GNUG__
14 #pragma implementation
15 #endif
16
17 #include "Menubar.h"
18 #include "MenuBackend.h"
19 #include "Menubar_pimpl.h"
20
21 Menubar::Menubar(LyXView * o, MenuBackend const & md)
22 {
23         pimpl_ = new Pimpl(o, md);
24 }
25
26
27 Menubar::~Menubar()
28 {
29         delete pimpl_;
30 }
31
32
33 void Menubar::openByName(string const & name)
34 {
35         pimpl_->openByName(name);
36 }
37
38
39 void Menubar::update()
40 {
41         pimpl_->update();
42 }