--- gigedit/trunk/src/gigedit/scripteditor.h 2016/07/16 15:31:47 2956 +++ gigedit/trunk/src/gigedit/scripteditor.h 2017/06/22 10:54:10 3286 @@ -1,5 +1,5 @@ /* - Copyright (c) 2014-2016 Christian Schoenebeck + Copyright (c) 2014-2017 Christian Schoenebeck This file is part of "gigedit" and released under the terms of the GNU General Public License version 2. @@ -8,9 +8,16 @@ #ifndef GIGEDIT_SCRIPTEDITOR_H #define GIGEDIT_SCRIPTEDITOR_H -#include +#ifdef LIBGIG_HEADER_FILE +# include LIBGIG_HEADER_FILE(gig.h) +#else +# include +#endif + #include -#include +#if HAVE_CONFIG_H +# include +#endif #include "compat.h" #include #include @@ -24,8 +31,13 @@ #endif #if USE_LS_SCRIPTVM -# include -# include +# ifdef LIBLINUXSAMPLER_HEADER_FILE +# include LIBLINUXSAMPLER_HEADER_FILE(scriptvm/ScriptVM.h) +# include LIBLINUXSAMPLER_HEADER_FILE(scriptvm/ScriptVMFactory.h) +# else +# include +# include +# endif #endif class ScriptEditor : public ManagedWindow { @@ -61,6 +73,7 @@ Glib::RefPtr m_preprocTag; Glib::RefPtr m_errorTag; Glib::RefPtr m_warningTag; + Glib::RefPtr m_preprocCommentTag; Gtk::TextView m_textView; Gtk::Image m_statusImage; Gtk::Label m_statusLabel; @@ -80,6 +93,7 @@ std::vector m_issues; std::vector m_errors; std::vector m_warnings; + std::vector m_preprocComments; #endif bool isModified() const;