]> git.lyx.org Git - lyx.git/blob - src/frontends/Menubar.h
Fix bug 1749. CAUTION: lyx2lyx not fully working yet (see FIXMEs).
[lyx.git] / src / frontends / Menubar.h
1 // -*- C++ -*-
2 /**
3  * \file Menubar.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author Lars Gullik Bjønnes
8  * \author Jean-Marc Lasgouttes
9  *
10  * Full author contact details are available in file CREDITS.
11  */
12
13 #ifndef MENUBAR_H
14 #define MENUBAR_H
15
16 #include "support/docstring.h"
17
18
19 namespace lyx {
20
21 /**
22  * The LyX GUI independent menubar class
23  * The GUI interface is implemented in the frontends
24  */
25 class Menubar {
26 public:
27         ///
28         virtual ~Menubar() {}
29         /// Opens a top-level submenu given its name
30         virtual void openByName(docstring const &) = 0;
31         /// update the state of the menuitems
32         virtual void update() = 0;
33 };
34
35 } // namespace lyx
36
37 #endif // MENUBAR_H