2 /* This file is part of
3 * ======================================================
5 * LyX, The Document Processor
7 * Copyright 1995 Matthias Ettrich
8 * Copyright 1995-2001 The LyX Team.
10 * ====================================================== */
15 #include <boost/utility.hpp>
26 This class is going to be the entry point to {\em all} GUI funcionality.
27 From this object will all the things going on be initiated. However I
28 have not clearly figured out how this class is going to be, suggestions
31 class LyXGUI : boost::noncopyable {
33 /** The only constructor allowed.
34 If gui is false, LyX will operate in non-X mode
36 LyXGUI(LyX * owner, int * argc, char * argv[], bool gui);
41 This functions starts the ball. For XForms it runs a loop of
42 fl_check_forms(). For QT this will probably be .exec().
45 /** This will take care of the initializaton done after the
50 /// Register the buffer with the first found LyXView in lyxViews
51 void regBuf(Buffer *);
53 /// Access to (first?) LyXView
54 LyXView * getLyXView() const;
62 /// The LyX that owns this GUI.
65 LyXView * lyxViews; // or something so that several views
66 // on the same time can be allowed.