]> git.lyx.org Git - lyx.git/blob - src/frontends/Menubar.C
some fixes to prev patch
[lyx.git] / src / frontends / Menubar.C
1 /* This file is part of
2  * ====================================================== 
3  * 
4  *           LyX, The Document Processor
5  *
6  *           Copyright 1995 Matthias Ettrich
7  *           Copyright 1995-2000 The LyX Team.
8  *
9  *           This file is Copyright 2000 Jean-Marc Lasgouttes
10  *
11  * ====================================================== */
12
13
14 #include <config.h>
15
16 #ifdef __GNUG__
17 #pragma implementation
18 #endif
19
20 #include "Menubar.h"
21 #include "Menubar_pimpl.h"
22
23 using std::endl;
24
25 Menubar::Menubar(LyXView * o, MenuBackend const &md)
26 {
27         pimpl_ = new Pimpl(o, md);
28 }
29
30
31 Menubar::~Menubar()
32 {
33         delete pimpl_;
34 }
35
36
37 void Menubar::set(string const & name)
38 {
39         pimpl_->set(name);
40 }
41
42
43 void Menubar::openByName(string const & name)
44 {
45         pimpl_->openByName(name);
46 }