LyX 1.5.0 is released
[lyx.git] / src / frontends / Menubar.h
blob74e8c59ac564f6af33b054783a94079525909ffb
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.
7 * \author Lars Gullik Bjønnes
8 * \author Jean-Marc Lasgouttes
10 * Full author contact details are available in file CREDITS.
13 #ifndef MENUBAR_H
14 #define MENUBAR_H
16 #include "support/docstring.h"
19 namespace lyx {
21 /**
22 * The LyX GUI independent menubar class
23 * The GUI interface is implemented in the frontends
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;
35 } // namespace lyx
37 #endif // MENUBAR_H