2002-08-15 17:48:53 +00:00
|
|
|
|
/**
|
|
|
|
|
* \file guiapi.C
|
2002-09-05 15:14:23 +00:00
|
|
|
|
* This file is part of LyX, the document processor.
|
|
|
|
|
* Licence details can be found in the file COPYING.
|
2002-08-15 17:48:53 +00:00
|
|
|
|
*
|
2002-12-01 22:59:25 +00:00
|
|
|
|
* \author Lars Gullik Bj<EFBFBD>nnes
|
|
|
|
|
* \author Angus Leeming
|
2002-09-05 14:10:50 +00:00
|
|
|
|
*
|
2003-08-23 00:17:00 +00:00
|
|
|
|
* Full author contact details are available in file CREDITS.
|
2002-08-15 17:48:53 +00:00
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#include <config.h>
|
|
|
|
|
|
|
|
|
|
#include "guiapi.h"
|
|
|
|
|
#include "Dialogs.h"
|
|
|
|
|
|
2003-09-05 10:55:42 +00:00
|
|
|
|
|
2002-08-15 17:48:53 +00:00
|
|
|
|
extern "C" {
|
|
|
|
|
|
2003-02-25 14:51:38 +00:00
|
|
|
|
void gui_show_dialog(Dialogs * d, char const * name, char const * data)
|
2003-02-25 13:20:34 +00:00
|
|
|
|
{
|
2003-02-25 14:51:38 +00:00
|
|
|
|
d->show(name, data, 0);
|
2003-02-25 13:20:34 +00:00
|
|
|
|
}
|
2003-09-09 18:27:24 +00:00
|
|
|
|
|
2003-02-25 13:20:34 +00:00
|
|
|
|
void gui_ShowDocument(Dialogs & d)
|
|
|
|
|
{
|
|
|
|
|
d.showDocument();
|
|
|
|
|
}
|
2002-08-15 17:48:53 +00:00
|
|
|
|
|
|
|
|
|
|
2003-02-25 13:20:34 +00:00
|
|
|
|
void gui_ShowForks(Dialogs & d)
|
|
|
|
|
{
|
|
|
|
|
d.showForks();
|
|
|
|
|
}
|
2002-08-15 17:48:53 +00:00
|
|
|
|
|
|
|
|
|
|
2003-02-25 13:20:34 +00:00
|
|
|
|
void gui_ShowPreamble(Dialogs & d)
|
|
|
|
|
{
|
|
|
|
|
d.showPreamble();
|
|
|
|
|
}
|
2002-08-15 17:48:53 +00:00
|
|
|
|
|
|
|
|
|
|
2003-02-25 13:20:34 +00:00
|
|
|
|
void gui_ShowPreferences(Dialogs & d)
|
|
|
|
|
{
|
|
|
|
|
d.showPreferences();
|
|
|
|
|
}
|
2002-08-15 17:48:53 +00:00
|
|
|
|
|
|
|
|
|
|
2003-02-25 13:20:34 +00:00
|
|
|
|
void gui_ShowPrint(Dialogs & d)
|
|
|
|
|
{
|
|
|
|
|
d.showPrint();
|
|
|
|
|
}
|
2002-08-15 17:48:53 +00:00
|
|
|
|
|
|
|
|
|
|
2003-02-25 13:20:34 +00:00
|
|
|
|
void gui_ShowSearch(Dialogs & d)
|
|
|
|
|
{
|
|
|
|
|
d.showSearch();
|
|
|
|
|
}
|
2002-08-15 17:48:53 +00:00
|
|
|
|
|
|
|
|
|
|
2003-02-25 13:20:34 +00:00
|
|
|
|
void gui_ShowSendto(Dialogs & d)
|
|
|
|
|
{
|
|
|
|
|
d.showSendto();
|
|
|
|
|
}
|
2002-08-15 17:48:53 +00:00
|
|
|
|
|
|
|
|
|
|
2003-02-25 13:20:34 +00:00
|
|
|
|
void gui_ShowSpellchecker(Dialogs & d)
|
|
|
|
|
{
|
|
|
|
|
d.showSpellchecker();
|
|
|
|
|
}
|
2002-08-15 17:48:53 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} // extern "C"
|