*
* LyX, The Document Processor
*
- * Copyright (C) 1995 1996 Matthias Ettrich
- * and the LyX Team.
+ * Copyright 1995 Matthias Ettrich
+ * Copyright 1995-2000 The LyX Team.
*
- *======================================================*/
+ * ====================================================== */
-#ifndef _LYX_GUI_H_
-#define _LYX_GUI_H_
+#ifndef LYX_GUI_H
+#define LYX_GUI_H
#ifdef __GNUG__
#pragma interface
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 */
//@{
/// 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;
//@}