Mercurial > hg > octave-nkf
comparison libgui/src/m-editor/file-editor-tab.h @ 16291:c22a6cecaedd
build: Use AMCOND to build GUI editor if Qscintilla available.
* configure.ac: Add new AMCOND_HAVE_QSCINTILLA Automake Conditional.
* libgui/src/m-editor/file-editor-interface.h,
libgui/src/m-editor/file-editor-tab.h, libgui/src/m-editor/file-editor.h,
libgui/src/m-editor/find-dialog.h, libgui/src/m-editor/lexer-octave-gui.h:
Remove '#ifdef HAVE_QSCINTILLA' declarations
* libgui/src/module.mk: Check AMCOND_HAVE_QSCINTILLA before adding
GUI editor files to octave_gui_MOC variable.
author | Rik <rik@octave.org> |
---|---|
date | Tue, 12 Mar 2013 19:03:07 -0700 |
parents | d07aeecb2d22 |
children | f482302d81c9 |
comparison
equal
deleted
inserted
replaced
16290:d07aeecb2d22 | 16291:c22a6cecaedd |
---|---|
20 | 20 |
21 */ | 21 */ |
22 | 22 |
23 #ifndef FILEEDITORTAB_H | 23 #ifndef FILEEDITORTAB_H |
24 #define FILEEDITORTAB_H | 24 #define FILEEDITORTAB_H |
25 | |
26 #ifdef HAVE_QSCINTILLA | |
27 | 25 |
28 #include <Qsci/qsciscintilla.h> | 26 #include <Qsci/qsciscintilla.h> |
29 #include <QWidget> | 27 #include <QWidget> |
30 #include <QCloseEvent> | 28 #include <QCloseEvent> |
31 #include <QFileSystemWatcher> | 29 #include <QFileSystemWatcher> |
156 find_dialog * _find_dialog; | 154 find_dialog * _find_dialog; |
157 bool _find_dialog_is_visible; | 155 bool _find_dialog_is_visible; |
158 QRect _find_dialog_geometry; | 156 QRect _find_dialog_geometry; |
159 }; | 157 }; |
160 | 158 |
161 #endif // HAVE_QSCINTILLA | 159 #endif // FILEEDITORTAB_H |
162 | |
163 #endif // FILEEDITORTAB_H |