// -*- C++ -*-
/* This file is part of
* ======================================================
- *
+ *
* LyX, The Document Processor
- *
+ *
* Copyright 1995 Matthias Ettrich
- * Copyright 1995-2000 The LyX Team.
+ * Copyright 1995-2001 The LyX Team.
*
* ====================================================== */
#ifndef LYX_GUI_H
#define LYX_GUI_H
-#include "support/utility.hpp"
+#include <boost/utility.hpp>
#ifdef __GNUG__
#pragma interface
have not clearly figured out how this class is going to be, suggestions
are welcome. (Lgb)
*/
-class LyXGUI : public noncopyable {
+class LyXGUI : boost::noncopyable {
public:
/** The only constructor allowed.
If gui is false, LyX will operate in non-X mode
LyXGUI(LyX * owner, int * argc, char * argv[], bool gui);
///
~LyXGUI();
-
+
/**
This functions starts the ball. For XForms it runs a loop of
fl_check_forms(). For QT this will probably be .exec().
main initialization.
*/
void init();
-
+
/// Register the buffer with the first found LyXView in lyxViews
void regBuf(Buffer *);
-
+
/// Access to (first?) LyXView
LyXView * getLyXView() const;
-
+
private:
///
void setDefaults();
///
void create_forms();
-
+
/// The LyX that owns this GUI.
LyX * _owner;
///