mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 02:14:50 +00:00
* 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
This commit is contained in:
parent
9ecf6723bc
commit
ee319c6e83
@ -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
|
||||
''')
|
||||
|
||||
|
||||
|
@ -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
|
||||
|
@ -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 <config.h>
|
||||
|
||||
#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
|
@ -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
|
Loading…
Reference in New Issue
Block a user