mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-11 13:46:43 +00:00
f7ba7c8e9f
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3806 a592a061-630c-0410-9148-cb99ea01b6c8
53 lines
1.1 KiB
C++
53 lines
1.1 KiB
C++
// -*- C++ -*-
|
|
/* This file is part of
|
|
* ======================================================
|
|
*
|
|
* LyX, The Document Processor
|
|
* Copyright 1995 Matthias Ettrich
|
|
* Copyright 1995-2001 The LyX Team.
|
|
*
|
|
* This file is Copyright 1996-2001
|
|
* Lars Gullik Bjønnes
|
|
*
|
|
* ====================================================== */
|
|
|
|
#ifndef MENUBAR_H
|
|
#define MENUBAR_H
|
|
|
|
#ifdef __GNUG__
|
|
#pragma interface
|
|
#endif
|
|
|
|
#include "LString.h"
|
|
|
|
class LyXView;
|
|
class MenuBackend;
|
|
|
|
/** The LyX GUI independent menubar class
|
|
The GUI interface is implemented in the corresponding Menubar_pimpl class.
|
|
*/
|
|
class Menubar {
|
|
public:
|
|
///
|
|
Menubar(LyXView * o, MenuBackend const &);
|
|
///
|
|
~Menubar();
|
|
///
|
|
void set(string const &);
|
|
/// Opens a top-level submenu given its name
|
|
void openByName(string const &);
|
|
/// update the state of the menuitems
|
|
void update();
|
|
|
|
|
|
//I disable this temporarily until I find a nice way to make it work
|
|
//with compaq cxx. (Jean-Marc)
|
|
// Is this a new comment? (Lgb)
|
|
struct Pimpl;
|
|
friend struct Pimpl;
|
|
private:
|
|
///
|
|
Pimpl * pimpl_;
|
|
};
|
|
#endif
|