]> git.lyx.org Git - features.git/commitdiff
Add the missing template instatiations!
authorAngus Leeming <leeming@lyx.org>
Wed, 16 Jan 2002 19:24:23 +0000 (19:24 +0000)
committerAngus Leeming <leeming@lyx.org>
Wed, 16 Jan 2002 19:24:23 +0000 (19:24 +0000)
Apologies to all.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3397 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/controllers/ButtonController.tmpl
src/frontends/controllers/ChangeLog
src/frontends/controllers/ControlCitation.C
src/frontends/xforms/ChangeLog
src/frontends/xforms/FormMathsPanel.C
src/frontends/xforms/FormPreferences.C

index 3c1237f77c344f1780e8b2126661cb03dc798238..c0cda36330e208853435399a48f8bde438d51a3d 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 /*
  * \file ButtonController.tmpl
  * Copyright 2002 the LyX Team
index 56469cafa510a83660f5848ada29515887db60ec..733aff3a3684d588fdeee67d0b5f8c316d5248c7 100644 (file)
@@ -1,3 +1,11 @@
+2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
+
+       * ButtonController.tmpl: added // -*- C++ -*-
+
+       * ControlCitation.C: #include "ControlInset.tmpl" to instantiate
+       ControlInset<InsetCommand, InsetCommandParams>::showInset, createInset.
+       Needed in _one_ of the ControlCommand-derived classes only.
+
 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
 
        * ControlInset.h:
index da27bcf713e0da1b64b52e3a06c0b1832cf72971..e138d345379bb4e244d0afaf04a5336cb7ed87f5 100644 (file)
 #include "Dialogs.h"
 #include "LyXView.h"
 
+// need to #include this in _one_ of the ControlCommand-derived classses in
+// order to instantiate
+// ControlInset<InsetCommand, InsetCommandParams>::showInset
+// ControlInset<InsetCommand, InsetCommandParams>::createInset
+#include "ControlInset.tmpl"
+
+
 using std::pair;
 using std::vector;
 using SigC::slot;
index a6c51c796a038b5d0752164cc4ba5ed6b4e0bc8a..cce98b9214372eb85be191f7f6848c1eded6d387 100644 (file)
@@ -1,3 +1,9 @@
+2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
+
+       * FormMathsPanel.C:
+       * FormPreferences.C: #include "ButtonController.tmpl" to instantiate
+       the button controller for IgnorantPolicy and PreferencesPolicy.
+
 2002-01-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
 
        * forms/form_tabular.fd: text_info field was too small. Enlarge it.
index 75d4c0ade70fb4c111dde79f31746e42bf0b02fb..ce825a29b7f0876e13dfeff15f4923e7ac6d9fbc 100644 (file)
@@ -36,6 +36,8 @@
 #include "FormMathsSpace.h"
 #include "FormMathsStyle.h"
 
+#include "ButtonController.tmpl"
+
 #include "deco.xpm"
 #include "delim.xpm"
 #include "equation.xpm"
index bf519462c6ce71700b42909f400065279ffddf07..29982f0804f2d5883f5309d0d4ce46942ffb6503 100644 (file)
@@ -28,6 +28,7 @@
 #include "Lsstream.h"
 #include "FormPreferences.h"
 #include "form_preferences.h"
+#include "ButtonController.tmpl"
 #include "input_validators.h"
 #include "LyXView.h"
 #include "language.h"