]> git.lyx.org Git - lyx.git/blob - src/frontends/Menubar.h
proof of concept l10n for ui menus
[lyx.git] / src / frontends / Menubar.h
1 // -*- C++ -*-
2 /* This file is part of
3  * ======================================================
4  * 
5  *           LyX, The Document Processor
6  *           Copyright 1995 Matthias Ettrich
7  *           Copyright 1995-2000 The LyX Team.
8  *
9  *           This file is Copyright 1996-2000
10  *           Lars Gullik Bjønnes
11  *
12  * ====================================================== */
13
14 #ifndef MENUBAR_H
15 #define MENUBAR_H
16
17 #ifdef __GNUG__
18 #pragma interface
19 #endif
20
21 #include "LString.h"
22
23 class LyXView;
24 class MenuBackend;
25
26 /** The LyX GUI independent menubar class
27   The GUI interface is implemented in the corresponding Menubar_pimpl class. 
28   */
29 class Menubar {
30 public:
31         ///
32         Menubar(LyXView * o, MenuBackend const &);
33         ///
34         ~Menubar();
35         ///
36         void set(string const &);
37         /// Opens a top-level submenu given its name
38         void openByName(string const &);
39
40
41         //I disable this temporarily until I find a nice way to make it work
42         //with compaq cxx. (Jean-Marc)
43         // Is this a new comment? (Lgb)
44 private:
45         struct Pimpl;
46         friend struct Pimpl;
47         Pimpl * pimpl_;
48 };
49 #endif