]> git.lyx.org Git - lyx.git/blob - src/frontends/Menubar.h
Martin's changes to the Note inset.
[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
17 #include "LString.h"
18
19 /**
20  * The LyX GUI independent menubar class
21  * The GUI interface is implemented in the frontends
22  */
23 class Menubar {
24 public:
25         ///
26         virtual ~Menubar() {}
27         /// Opens a top-level submenu given its name
28         virtual void openByName(string const &) = 0;
29         /// update the state of the menuitems
30         virtual void update() = 0;
31 };
32 #endif // MENUBAR_H