X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Flyx_gui.h;h=55968e63423fd6c3b913ff9ae1a59768cfeb7df3;hb=35cf7dcb2bdfdcda465b69c58465f657c77fd9d7;hp=420b077d3c122efaee254dd62224670f36429976;hpb=a040c0bc6f017d0591bbc7ad1aa590589dbc40ff;p=lyx.git diff --git a/src/lyx_gui.h b/src/lyx_gui.h index 420b077d3c..55968e6342 100644 --- a/src/lyx_gui.h +++ b/src/lyx_gui.h @@ -4,8 +4,8 @@ * * LyX, The Document Processor * - * Copyright (C) 1995 1996 Matthias Ettrich - * and the LyX Team. + * Copyright 1995 Matthias Ettrich + * Copyright 1995-2000 The LyX Team. * * ====================================================== */ @@ -51,12 +51,13 @@ public: main initialization. */ void init(); - /// - LyXView *lyxViews; // or something so that several views - // on the same time can be allowed. - /// Register the buffer with the first fount LyXView in lyxViews + /// Register the buffer with the first found LyXView in lyxViews void regBuf(Buffer*); + + /// Access to (first?) LyXView + LyXView * getLyXView() const; + //@} private: /**@name Construcor */ @@ -79,6 +80,9 @@ private: //@{ /// The LyX that owns this GUI. LyX *_owner; + /// + LyXView *lyxViews; // or something so that several views + // on the same time can be allowed. /// Do we have a gui? bool gui; //@}