Skip to content
Snippets Groups Projects
Commit d39087e7 authored by Andreas Schenk's avatar Andreas Schenk Committed by BIOPZ-Johner Niklaus
Browse files

fix for BOOST_JOIN parse error during moccing for boost 1.56

patch by Mark Livingstone
parent 33a41e84
No related branches found
No related tags found
No related merge requests found
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
#ifdef check #ifdef check
#undef check #undef check
#endif #endif
#ifndef Q_MOC_RUN
#include <boost/ptr_container/ptr_vector.hpp> #include <boost/ptr_container/ptr_vector.hpp>
#include <vector> #include <vector>
...@@ -41,7 +42,7 @@ ...@@ -41,7 +42,7 @@
#include "vertex_array.hh" #include "vertex_array.hh"
#include "input.hh" #include "input.hh"
#include "exporter_fw.hh" #include "exporter_fw.hh"
#endif
namespace ost { namespace gfx { namespace ost { namespace gfx {
class Scene; // fw decl class Scene; // fw decl
......
...@@ -19,6 +19,8 @@ ...@@ -19,6 +19,8 @@
#ifndef OST_GUI_SCENE_WIN_ENTITY_NODE_HH #ifndef OST_GUI_SCENE_WIN_ENTITY_NODE_HH
#define OST_GUI_SCENE_WIN_ENTITY_NODE_HH #define OST_GUI_SCENE_WIN_ENTITY_NODE_HH
#ifndef Q_MOC_RUN
#include <ost/gfx/gfx_node_fw.hh> #include <ost/gfx/gfx_node_fw.hh>
#include <ost/gfx/gfx_node.hh> #include <ost/gfx/gfx_node.hh>
...@@ -27,6 +29,7 @@ ...@@ -27,6 +29,7 @@
#include <ost/gui/module_config.hh> #include <ost/gui/module_config.hh>
#include <ost/gui/scene_win/gfx_scene_node.hh> #include <ost/gui/scene_win/gfx_scene_node.hh>
#endif
/* /*
Author: Stefan Scheuber Author: Stefan Scheuber
......
...@@ -23,11 +23,14 @@ ...@@ -23,11 +23,14 @@
Author: Stefan Scheuber Author: Stefan Scheuber
*/ */
#ifndef Q_MOC_RUN
#include <ost/seq/alignment_handle.hh> #include <ost/seq/alignment_handle.hh>
#include <ost/gfx/gradient.hh> #include <ost/gfx/gradient.hh>
#include "sequence_view_object.hh" #include "sequence_view_object.hh"
#endif
namespace ost { namespace gui { namespace ost { namespace gui {
......
...@@ -23,10 +23,12 @@ ...@@ -23,10 +23,12 @@
Author: Stefan Scheuber Author: Stefan Scheuber
*/ */
#ifndef Q_MOC_RUN
#include "sequence_model.hh" #include "sequence_model.hh"
#include <QItemDelegate> #include <QItemDelegate>
#include <QModelIndex> #include <QModelIndex>
#endif
namespace ost { namespace gui { namespace ost { namespace gui {
......
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
Author: Stefan Scheuber Author: Stefan Scheuber
*/ */
#ifndef Q_MOC_RUN
#include <ost/mol/chain_view.hh> #include <ost/mol/chain_view.hh>
...@@ -37,6 +38,8 @@ ...@@ -37,6 +38,8 @@
#include <QAbstractTableModel> #include <QAbstractTableModel>
#include <QItemSelection> #include <QItemSelection>
#endif
namespace ost { namespace gui { namespace ost { namespace gui {
class SequenceModel : public QAbstractTableModel class SequenceModel : public QAbstractTableModel
......
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
Author: Stefan Scheuber Author: Stefan Scheuber
*/ */
#ifndef Q_MOC_RUN
#include <ost/mol/entity_handle.hh> #include <ost/mol/entity_handle.hh>
...@@ -38,7 +39,7 @@ ...@@ -38,7 +39,7 @@
#include "seq_text_painter.hh" #include "seq_text_painter.hh"
#include "base_view_object.hh" #include "base_view_object.hh"
#endif
namespace ost { namespace gui { namespace ost { namespace gui {
......
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
Author: Stefan Scheuber Author: Stefan Scheuber
*/ */
#ifndef Q_MOC_RUN
#include <ost/seq/alignment_handle.hh> #include <ost/seq/alignment_handle.hh>
...@@ -39,6 +40,7 @@ ...@@ -39,6 +40,7 @@
#include <QToolBar> #include <QToolBar>
#include <QModelIndex> #include <QModelIndex>
#include <QItemSelection> #include <QItemSelection>
#endif
namespace ost { namespace ost {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment