]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/guiapi.C
Minipage is no more (long live the box inset)
[lyx.git] / src / frontends / guiapi.C
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..1006b66fc944c72acaf616be4306fe3015c4b9c5 100644 (file)
@@ -0,0 +1,73 @@
+/**
+ * \file guiapi.C
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
+ *
+ * \author Lars Gullik Bjønnes
+ * \author Angus Leeming
+ *
+ * Full author contact details are available in file CREDITS.
+ */
+
+#include <config.h>
+
+#include "guiapi.h"
+#include "Dialogs.h"
+
+
+extern "C" {
+
+void gui_show_dialog(Dialogs * d, char const * name, char const * data)
+{
+       d->show(name, data, 0);
+}
+
+void gui_ShowDocument(Dialogs & d)
+{
+       d.showDocument();
+}
+
+
+void gui_ShowForks(Dialogs & d)
+{
+       d.showForks();
+}
+
+
+void gui_ShowPreamble(Dialogs & d)
+{
+       d.showPreamble();
+}
+
+
+void gui_ShowPreferences(Dialogs & d)
+{
+       d.showPreferences();
+}
+
+
+void gui_ShowPrint(Dialogs & d)
+{
+       d.showPrint();
+}
+
+
+void gui_ShowSearch(Dialogs & d)
+{
+       d.showSearch();
+}
+
+
+void gui_ShowSendto(Dialogs & d)
+{
+       d.showSendto();
+}
+
+
+void gui_ShowSpellchecker(Dialogs & d)
+{
+       d.showSpellchecker();
+}
+
+
+} // extern "C"