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