Mercurial > octave
diff libgui/languages/build_ts/octave-qsci/Qsci/qsciglobal.h @ 31537:5ceb4bfcdb0f stable
add tools and files for updating the gui's language files for translation
* libgui/languages/build_ts/README.md: readme for updating language files
* libgui/languages/build_ts/octave-qsci: QScintilla source files for
languages without translation provided by QScintilla
* libgui/languages/build_ts/octave-qt: Qt source files for languages
without translation provided by Qt
author | Torsten Lilge <ttl-octave@mailbox.org> |
---|---|
date | Thu, 24 Nov 2022 06:48:25 +0100 |
parents | |
children | dd5ece3664ed |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libgui/languages/build_ts/octave-qsci/Qsci/qsciglobal.h Thu Nov 24 06:48:25 2022 +0100 @@ -0,0 +1,48 @@ +// This module defines various things common to all of the Scintilla Qt port. +// +// Copyright (c) 2019 Riverbank Computing Limited <info@riverbankcomputing.com> +// +// This file is part of QScintilla. +// +// This file may be used under the terms of the GNU General Public License +// version 3.0 as published by the Free Software Foundation and appearing in +// the file LICENSE included in the packaging of this file. Please review the +// following information to ensure the GNU General Public License version 3.0 +// requirements will be met: http://www.gnu.org/copyleft/gpl.html. +// +// If you do not wish to use this file under the terms of the GPL version 3.0 +// then you may purchase a commercial license. For more information contact +// info@riverbankcomputing.com. +// +// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + +#ifndef QSCIGLOBAL_H +#define QSCIGLOBAL_H + +#include <qglobal.h> + + +#define QSCINTILLA_VERSION 0x020b04 +#define QSCINTILLA_VERSION_STR "2.11.4" + + +// Define QSCINTILLA_MAKE_DLL to create a QScintilla shared library, or +// define QSCINTILLA_DLL to link against a QScintilla shared library, or define +// neither to either build or link against a static QScintilla library. +#if defined(QSCINTILLA_DLL) +#define QSCINTILLA_EXPORT Q_DECL_IMPORT +#elif defined(QSCINTILLA_MAKE_DLL) +#define QSCINTILLA_EXPORT Q_DECL_EXPORT +#else +#define QSCINTILLA_EXPORT +#endif + + +#if !defined(QT_BEGIN_NAMESPACE) +#define QT_BEGIN_NAMESPACE +#define QT_END_NAMESPACE +#endif + +#endif