]> git.lyx.org Git - lyx.git/blob - src/frontends/Menubar.C
Small fix from Angus
[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 Menubar::Menubar(LyXView * o, MenuBackend const & md)
24 {
25         pimpl_ = new Pimpl(o, md);
26 }
27
28
29 Menubar::~Menubar()
30 {
31         delete pimpl_;
32 }
33
34
35 void Menubar::set(string const & name)
36 {
37         pimpl_->set(name);
38 }
39
40
41 void Menubar::openByName(string const & name)
42 {
43         pimpl_->openByName(name);
44 }
45
46
47 void Menubar::update()
48 {
49         pimpl_->update();
50 }