]> git.lyx.org Git - lyx.git/blob - src/frontends/gnome/mainapp.h
John's KDE FormRef patch
[lyx.git] / src / frontends / gnome / mainapp.h
1 // -*- C++ -*-
2 /* This file is part of
3  * ====================================================== 
4  * 
5  *           LyX, The Document Processor
6  *       
7  *          Copyright 2000 The LyX Team.
8  *
9  * ====================================================== */
10
11 #ifndef GNOMELYX_MAINWIN
12 #define GNOMELYX_MAINWIN
13
14 #include <gnome--/app.h>
15 #include <gnome--/appbar.h>
16 #include <gtk--/frame.h>
17
18 #include "MenuBackend.h"
19
20 /*
21  This is (most probably) temporary class and it will be either merged with
22  LyXView or replaced by new implementation of GUI-dependend MainWindow class
23 */
24
25 class GLyxAppWin: public Gnome::App
26 {
27  public:
28   GLyxAppWin();
29   ~GLyxAppWin();
30
31   /// set menu of the window
32   void set_menu(Gnome::UI::Array &);
33   
34  protected:
35   /// init window widgets
36   void init();
37
38  protected:
39   // widgets
40   Gnome::AppBar status_;
41   Gtk::Frame frame_;
42
43   // menu size
44   int menusize_;
45 };
46
47 #endif