+2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
+
+ * Makefile.am: make controllers subdir before xforms.
+
+ * Dialogs.h: (add, destroySplash): moved out of line and into Dialogs.C.
+
+ * Dialogs.C: new file, instantiating the add, destroySplash methods.
+
2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
* Liason.[Ch] (setMinibuffer): change second arg to string
--- /dev/null
+/* This file is part of
+ * ======================================================
+ *
+ * LyX, The Document Processor
+ *
+ * Copyright 1995 Matthias Ettrich
+ * Copyright 1995-2001 The LyX Team.
+ *
+ * ======================================================
+ *
+ * \file Dialogs.C
+ * \author Angus Leeming <a.leeming@ic.ac.uk>
+ *
+ * Methods common to all frontends' Dialogs that should not be inline
+ */
+
+#include <config.h>
+
+#ifdef __GNUG__
+#pragma implementation
+#endif
+
+#include "Dialogs.h"
+#include "support/LAssert.h"
+
+void Dialogs::add(DialogBase * ptr)
+{
+ lyx::Assert(ptr);
+ dialogs_.push_back(db_ptr(ptr));
+}
+
+void Dialogs::destroySplash()
+{
+ splash_.reset();
+}
#endif
#include "DialogBase.h"
-#include "support/LAssert.h"
// Maybe this should be a UIFunc modelled on LyXFunc
class LyXView;
boost::scoped_ptr<DialogBase> splash_;
};
-inline void Dialogs::add(DialogBase * ptr)
-{
- lyx::Assert(ptr);
- dialogs_.push_back(db_ptr(ptr));
-}
-
-inline void Dialogs::destroySplash()
-{
- splash_.reset();
-}
-
#endif