From: Abdelrazak Younes Date: Mon, 30 Oct 2006 08:13:02 +0000 (+0000) Subject: * guiapi.[Ch]: deleted. X-Git-Tag: 1.6.10~12143 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=ee319c6e83a1dd177bc5614b753eeff7185d26ee;p=features.git * guiapi.[Ch]: deleted. Angus L. explanation: Lars introduced it years ago when he got exited by the idea of dll-importing the frontend library, but the idea never came to anything concrete. The file can always be resurrected later on; it's meant to be a C- language wrapper to our C++ frontend library calls. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15611 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/development/scons/scons_manifest.py b/development/scons/scons_manifest.py index b3db3ac346..19ffd565c4 100644 --- a/development/scons/scons_manifest.py +++ b/development/scons/scons_manifest.py @@ -446,7 +446,6 @@ src_frontends_header_files = Split(''' Timeout.h Toolbars.h WorkArea.h - guiapi.h key_state.h mouse_state.h nullpainter.h @@ -462,7 +461,6 @@ src_frontends_files = Split(''' Timeout.C Toolbars.C WorkArea.C - guiapi.C ''') diff --git a/src/frontends/Makefile.am b/src/frontends/Makefile.am index 7678c7bcd0..38eb4bae76 100644 --- a/src/frontends/Makefile.am +++ b/src/frontends/Makefile.am @@ -41,8 +41,6 @@ libfrontends_la_SOURCES = \ Selection.h \ WorkArea.C \ WorkArea.h \ - guiapi.h \ - guiapi.C \ key_state.h \ mouse_state.h \ nullpainter.h diff --git a/src/frontends/guiapi.C b/src/frontends/guiapi.C deleted file mode 100644 index 9990517208..0000000000 --- a/src/frontends/guiapi.C +++ /dev/null @@ -1,31 +0,0 @@ -/** - * \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 - -#include "guiapi.h" -#include "Dialogs.h" - - -namespace lyx { - - -extern "C" { - -void gui_show_dialog(Dialogs * d, char const * name, char const * data) -{ - d->show(name, data, 0); -} - -} // extern "C" - - -} // namespace lyx diff --git a/src/frontends/guiapi.h b/src/frontends/guiapi.h deleted file mode 100644 index e7b6cf42c9..0000000000 --- a/src/frontends/guiapi.h +++ /dev/null @@ -1,28 +0,0 @@ -// -*- C++ -*- -/** - * \file guiapi.h - * This file is part of LyX, the document processor. - * Licence details can be found in the file COPYING. - * - * \author Lars Gullik Bjønnes - * - * Full author contact details are available in file CREDITS. - */ - -#ifndef GUIAPI_H -#define GUIAPI_H - -namespace lyx { - -class Dialogs; - -extern "C" { - -void gui_show_dialog(Dialogs *, char const * name, char const * data); - -} // extern "C" - - -} // namespace lyx - -#endif // GUIAPI_H