lyx_mirror/src/frontends/Menubar.h
Angus Leeming a5ead24854 Self-consistent header files.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7867 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-07 08:16:04 +00:00

32 lines
677 B
C++

// -*- C++ -*-
/**
* \file Menubar.h
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* \author Lars Gullik Bjønnes
* \author Jean-Marc Lasgouttes
*
* Full author contact details are available in file CREDITS.
*/
#ifndef MENUBAR_H
#define MENUBAR_H
#include <string>
/**
* The LyX GUI independent menubar class
* The GUI interface is implemented in the frontends
*/
class Menubar {
public:
///
virtual ~Menubar() {}
/// Opens a top-level submenu given its name
virtual void openByName(std::string const &) = 0;
/// update the state of the menuitems
virtual void update() = 0;
};
#endif // MENUBAR_H