2 /* This file is part of
3 * ======================================================
5 * LyX, The Document Processor
7 * Copyright 1995 Matthias Ettrich
8 * Copyright 1995-2000 The LyX Team.
10 * ====================================================== */
24 This class is going to be the entry point to {\em all} GUI funcionality.
25 From this object will all the things going on be initiated. However I
26 have not clearly figured out how this class is going to be, suggestions
31 /**@name Constructor */
34 /** The only constructor allowed
36 If gui is false, LyX will operate in non-X mode
38 LyXGUI(LyX *owner, int *argc, char *argv[], bool gui);
46 This functions starts the ball. For XForms it runs a loop of
47 fl_check_forms(). For QT this will probably be .exec().
50 /** This will take care of the initializaton done after the
55 /// Register the buffer with the first found LyXView in lyxViews
58 /// Access to (first?) LyXView
59 LyXView * getLyXView() const;
63 /**@name Construcor */
66 LyXGUI(); // don't allow this
68 LyXGUI(const LyXGUI&); // nor this
81 /// The LyX that owns this GUI.
84 LyXView *lyxViews; // or something so that several views
85 // on the same time can be allowed.