lyx_mirror/src/frontends/Menubar.h

32 lines
693 B
C
Raw Normal View History

// -*- 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<EFBFBD>nnes
* \author Jean-Marc Lasgouttes
*
* Full author contact details are available in file CREDITS.
*/
#ifndef MENUBAR_H
#define MENUBAR_H
#include "support/docstring.h"
/**
* 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(lyx::docstring const &) = 0;
/// update the state of the menuitems
virtual void update() = 0;
};
#endif // MENUBAR_H