mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 11:16:55 +00:00
reduce #include requirements
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4531 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
f849bc4a62
commit
7514ea0ff4
@ -1,3 +1,10 @@
|
|||||||
|
|
||||||
|
2002-07-04 André Pönitz <poenitz@gmx.net>
|
||||||
|
|
||||||
|
* FormInset.[Ch]: reduce #include depencies
|
||||||
|
|
||||||
|
* guiapi.C: suppress compiler warning
|
||||||
|
|
||||||
2002-06-27 Juergen Spitzmueller <j.spitzmueller@gmx.de>
|
2002-06-27 Juergen Spitzmueller <j.spitzmueller@gmx.de>
|
||||||
|
|
||||||
* FormInclude.C: Comment out unneeded and wrong update mechanism
|
* FormInclude.C: Comment out unneeded and wrong update mechanism
|
||||||
|
@ -18,6 +18,7 @@
|
|||||||
#include "frontends/LyXView.h"
|
#include "frontends/LyXView.h"
|
||||||
#include "FormInset.h"
|
#include "FormInset.h"
|
||||||
#include "xformsBC.h"
|
#include "xformsBC.h"
|
||||||
|
#include "insets/insetcommand.h"
|
||||||
|
|
||||||
#include <boost/bind.hpp>
|
#include <boost/bind.hpp>
|
||||||
|
|
||||||
|
@ -15,8 +15,7 @@
|
|||||||
#define FORMCOMMAND_H
|
#define FORMCOMMAND_H
|
||||||
|
|
||||||
#include "FormBaseDeprecated.h"
|
#include "FormBaseDeprecated.h"
|
||||||
|
#include "insets/insetcommandparams.h"
|
||||||
#include "insets/insetcommand.h"
|
|
||||||
|
|
||||||
#include <boost/signals/connection.hpp>
|
#include <boost/signals/connection.hpp>
|
||||||
|
|
||||||
@ -24,6 +23,7 @@
|
|||||||
#pragma interface
|
#pragma interface
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
class InsetCommand;
|
||||||
|
|
||||||
/** This class is an XForms GUI base class to insets
|
/** This class is an XForms GUI base class to insets
|
||||||
*/
|
*/
|
||||||
|
@ -495,15 +495,22 @@ extern "C" {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef HAVE_LIBAIKSAURUS
|
||||||
|
|
||||||
void gui_ShowThesaurus(string const & s, LyXView & lv, Dialogs & d)
|
void gui_ShowThesaurus(string const & s, LyXView & lv, Dialogs & d)
|
||||||
{
|
{
|
||||||
#ifdef HAVE_LIBAIKSAURUS
|
|
||||||
static GUI<ControlThesaurus, FormThesaurus,
|
static GUI<ControlThesaurus, FormThesaurus,
|
||||||
OkApplyCancelReadOnlyPolicy, xformsBC> ct(lv, d);
|
OkApplyCancelReadOnlyPolicy, xformsBC> ct(lv, d);
|
||||||
ct.showEntry(s);
|
ct.showEntry(s);
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#else
|
||||||
|
|
||||||
|
void gui_ShowThesaurus(string const &, LyXView &, Dialogs &)
|
||||||
|
{}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
void gui_ShowTOC(InsetCommand * ic, LyXView & lv, Dialogs & d)
|
void gui_ShowTOC(InsetCommand * ic, LyXView & lv, Dialogs & d)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user