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