Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions include/tinia/jobcontroller/ComputeJob.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,11 @@
#include <string>
//#include <mutex>
#include "tinia/jobcontroller/Job.hpp"
// QT's moc doesn't like BOOST_JOIN ( can be removed in QT 5.0 we think)
#ifndef Q_MOC_RUN
#include <boost/thread/thread.hpp>
#include <boost/scoped_ptr.hpp>
#endif

namespace tinia {
namespace jobcontroller
Expand Down
6 changes: 6 additions & 0 deletions include/tinia/model/ExposedModelLock.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,15 @@
*/

#pragma once
// QT's moc doesn't like BOOST_JOIN ( can be removed in QT 5.0 we think)
#ifndef Q_MOC_RUN
#include "boost/thread.hpp"
#endif
#include "tinia/model/ExposedModel.hpp"
// QT's moc doesn't like BOOST_JOIN ( can be removed in QT 5.0 we think)
#ifndef Q_MOC_RUN
#include <boost/shared_ptr.hpp>
#endif

namespace tinia {
namespace model {
Expand Down
3 changes: 3 additions & 0 deletions include/tinia/model/StateSchemaElement.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@

#pragma once
#include "tinia/model/impl/ElementData.hpp"
// QT's moc doesn't like BOOST_JOIN ( can be removed in QT 5.0 we think)
#ifndef Q_MOC_RUN
#include <boost/property_tree/ptree.hpp>
#endif
#include <string>

namespace tinia {
Expand Down
3 changes: 3 additions & 0 deletions include/tinia/model/impl/utils.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,11 @@

#include <string>
#include <stdexcept>
// QT's moc doesn't like BOOST_JOIN ( can be removed in QT 5.0 we think)
#ifndef Q_MOC_RUN
#include <boost/lexical_cast.hpp>
#include <boost/property_tree/ptree.hpp>
#endif
#include <iostream>


Expand Down
3 changes: 3 additions & 0 deletions include/tinia/model/impl/xml/ElementHandler.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@

#pragma once
#include <string>
// QT's moc doesn't like BOOST_JOIN ( can be removed in QT 5.0 we think)
#ifndef Q_MOC_RUN
#include <boost/shared_ptr.hpp>
#endif
#include "tinia/model/ExposedModel.hpp"

namespace tinia {
Expand Down
3 changes: 3 additions & 0 deletions include/tinia/qtcontroller/QTController.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,11 @@



// QT's moc doesn't like BOOST_JOIN ( can be removed in QT 5.0 we think)
#ifndef Q_MOC_RUN
#include <boost/scoped_ptr.hpp>
#include <boost/shared_ptr.hpp>
#endif

class QMainWindow;
class QGLWidget;
Expand Down
3 changes: 3 additions & 0 deletions include/tinia/qtcontroller/impl/http_utils.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,13 @@
#include <QStringList>
#include <QMap>
#include <stdexcept>
// QT's moc doesn't like BOOST_JOIN ( can be removed in QT 5.0 we think)
#ifndef Q_MOC_RUN
#include <boost/lexical_cast.hpp>
#include <boost/fusion/sequence.hpp>
#include <boost/tuple/tuple_comparison.hpp>
#include <boost/tuple/tuple_io.hpp>
#endif

namespace tinia { namespace qtcontroller { namespace impl {

Expand Down
3 changes: 3 additions & 0 deletions include/tinia/qtcontroller/moc/Canvas.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@
#include "tinia/model/ExposedModel.hpp"
#include "tinia/model/StateListener.hpp"
#include <tinia/qtcontroller/impl/EventHandler.hpp>
// QT's moc doesn't like BOOST_JOIN ( can be removed in QT 5.0 we think)
#ifndef Q_MOC_RUN
#include <boost/scoped_ptr.hpp>
#endif

namespace tinia {
namespace qtcontroller {
Expand Down
3 changes: 3 additions & 0 deletions include/tinia/qtcontroller/moc/VisibilityController.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@
#include <QObject>
#include <QWidget>
#include <string>
// QT's moc doesn't like BOOST_JOIN ( can be removed in QT 5.0 we think)
#ifndef Q_MOC_RUN
#include <boost/shared_ptr.hpp>
#endif
#include "tinia/model/ExposedModel.hpp"
#include "tinia/model/StateListener.hpp"

Expand Down
3 changes: 3 additions & 0 deletions include/tinia/qtcontroller/scripting/ExposedModel.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@

#pragma once
#include <QObject>
// QT's moc doesn't like BOOST_JOIN ( can be removed in QT 5.0 we think)
#ifndef Q_MOC_RUN
#include <boost/shared_ptr.hpp>
#endif
#include <tinia/model/ExposedModel.hpp>
#include <tinia/qtcontroller/scripting/Viewer.hpp>
#include <QtScript>
Expand Down
3 changes: 3 additions & 0 deletions include/tinia/renderlist/Item.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@
*/

#pragma once
// QT's moc doesn't like BOOST_JOIN ( can be removed in QT 5.0 we think)
#ifndef Q_MOC_RUN
#include <boost/utility.hpp>
#endif
#include <tinia/renderlist/RenderList.hpp>

namespace tinia {
Expand Down
3 changes: 3 additions & 0 deletions include/tinia/renderlist/gl/Renderer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,10 @@
#pragma once
#include <list>
#include <map>
// QT's moc doesn't like BOOST_JOIN ( can be removed in QT 5.0 we think)
#ifndef Q_MOC_RUN
#include <boost/utility.hpp>
#endif
#include <tinia/renderlist/RenderList.hpp>

namespace tinia {
Expand Down
3 changes: 3 additions & 0 deletions src/model/ElementData.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,11 @@
#include <iostream>
#include <string>
#include <vector>
// QT's moc doesn't like BOOST_JOIN ( can be removed in QT 5.0 we think)
#ifndef Q_MOC_RUN
#include <boost/property_tree/ptree.hpp>
#include <boost/algorithm/string.hpp>
#endif
#include <tinia/model/exceptions/RestrictionException.hpp>

using std::cout;
Expand Down
3 changes: 3 additions & 0 deletions src/model/ExposedModel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,11 @@
#include <map>
#include <iterator>

// QT's moc doesn't like BOOST_JOIN ( can be removed in QT 5.0 we think)
#ifndef Q_MOC_RUN
#include <boost/lexical_cast.hpp>
#include <boost/algorithm/string.hpp>
#endif

#include "tinia/model/Viewer.hpp"

Expand Down
3 changes: 3 additions & 0 deletions src/model/validateGUI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,12 @@


#include <tinia/model/GUILayout.hpp>
// QT's moc doesn't like BOOST_JOIN ( can be removed in QT 5.0 we think)
#ifndef Q_MOC_RUN
#include <boost/mpl/vector.hpp>
#include <boost/mpl/for_each.hpp>
#include <boost/mpl/placeholders.hpp>
#endif
#include <tinia/model/GUILayout.hpp>
#include <tinia/model/ExposedModel.hpp>
#include <tinia/model/exceptions/KeyNotFoundException.hpp>
Expand Down
3 changes: 3 additions & 0 deletions src/modelxml/XMLBuilder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,11 @@

#include <iostream>
#include <algorithm>
// QT's moc doesn't like BOOST_JOIN ( can be removed in QT 5.0 we think)
#ifndef Q_MOC_RUN
#include <boost/property_tree/ptree.hpp>
#include <boost/lexical_cast.hpp>
#endif

using namespace std;

Expand Down
3 changes: 3 additions & 0 deletions src/modelxml/XMLReader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,11 @@
//#include "tinia/model/ExposedModel.hpp"
#include "tinia/model/impl/xml/utils.hpp"
#include <algorithm>
// QT's moc doesn't like BOOST_JOIN ( can be removed in QT 5.0 we think)
#ifndef Q_MOC_RUN
#include <boost/lexical_cast.hpp>
#include <boost/property_tree/ptree.hpp>
#endif

#define XMLDEBUG std::cout<< __FILE__<<__LINE__ << std::endl;

Expand Down
3 changes: 3 additions & 0 deletions src/modelxml/XMLTransporter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@
*/

#include <algorithm>
// QT's moc doesn't like BOOST_JOIN ( can be removed in QT 5.0 we think)
#ifndef Q_MOC_RUN
#include <boost/lexical_cast.hpp>
#endif
#include <iostream>
#include <cstring>
#include <stdexcept>
Expand Down
3 changes: 3 additions & 0 deletions src/qtcontroller/HTTPServer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,12 @@
#include <QStringList>
#include <QDateTime>
#include <QFile>
// QT's moc doesn't like BOOST_JOIN ( can be removed in QT 5.0 we think)
#ifndef Q_MOC_RUN
#include <boost/tuple/tuple.hpp>
#include <boost/tuple/tuple_comparison.hpp>
#include <boost/tuple/tuple_io.hpp>
#endif
#include <QThreadPool>

namespace tinia {
Expand Down
3 changes: 3 additions & 0 deletions src/qtcontroller/HorizontalSlider.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@

#include "tinia/qtcontroller/moc/HorizontalSlider.hpp"
#include <QHBoxLayout>
// QT's moc doesn't like BOOST_JOIN ( can be removed in QT 5.0 we think)
#ifndef Q_MOC_RUN
#include <boost/lexical_cast.hpp>
#endif

namespace tinia {
namespace qtcontroller {
Expand Down
3 changes: 3 additions & 0 deletions unittests/ipc/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,8 @@
* along with the Tinia Framework. If not, see <http://www.gnu.org/licenses/>.
*/
#define BOOST_TEST_MODULE IpcMsgTest
// QT's moc doesn't like BOOST_JOIN ( can be removed in QT 5.0 we think)
#ifndef Q_MOC_RUN
#include <boost/test/unit_test.hpp>
#endif

3 changes: 3 additions & 0 deletions unittests/ipc/test_errors.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@
* You should have received a copy of the GNU Affero General Public License
* along with the Tinia Framework. If not, see <http://www.gnu.org/licenses/>.
*/
// QT's moc doesn't like BOOST_JOIN ( can be removed in QT 5.0 we think)
#ifndef Q_MOC_RUN
#include <boost/test/unit_test.hpp>
#endif
#include "test_fixture.hpp"

BOOST_AUTO_TEST_SUITE( IpcMsgErrors )
Expand Down
3 changes: 3 additions & 0 deletions unittests/ipc/test_fixture.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@
#include <iostream>
#include <sstream>
#include <sys/time.h>
// QT's moc doesn't like BOOST_JOIN ( can be removed in QT 5.0 we think)
#ifndef Q_MOC_RUN
#include <boost/test/unit_test.hpp>
#endif
#include <tinia/ipc/ipc_msg.h>
#include "../../src/ipc/ipc_msg_internal.h"
#ifdef TINIA_IPC_VALGRIND_ANNOTATIONS
Expand Down
3 changes: 3 additions & 0 deletions unittests/ipc/test_notification.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@
* You should have received a copy of the GNU Affero General Public License
* along with the Tinia Framework. If not, see <http://www.gnu.org/licenses/>.
*/
// QT's moc doesn't like BOOST_JOIN ( can be removed in QT 5.0 we think)
#ifndef Q_MOC_RUN
#include <boost/test/unit_test.hpp>
#endif
#include "test_fixture.hpp"

BOOST_AUTO_TEST_SUITE( IpcMsgNotification )
Expand Down
3 changes: 3 additions & 0 deletions unittests/ipc/test_sendrecv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@
* You should have received a copy of the GNU Affero General Public License
* along with the Tinia Framework. If not, see <http://www.gnu.org/licenses/>.
*/
// QT's moc doesn't like BOOST_JOIN ( can be removed in QT 5.0 we think)
#ifndef Q_MOC_RUN
#include <boost/test/unit_test.hpp>
#endif
#include "test_fixture.hpp"

BOOST_AUTO_TEST_SUITE( IpcMsgSendRecv )
Expand Down
9 changes: 9 additions & 0 deletions unittests/modelxml/ExposedModelTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,19 @@
* along with the Tinia Framework. If not, see <http://www.gnu.org/licenses/>.
*/

// QT's moc doesn't like BOOST_JOIN ( can be removed in QT 5.0 we think)
#ifndef Q_MOC_RUN
#include <boost/test/unit_test.hpp>
#endif

#include <string>
#include <memory>
#include <stdexcept>
#include <iostream>
// QT's moc doesn't like BOOST_JOIN ( can be removed in QT 5.0 we think)
#ifndef Q_MOC_RUN
#include <boost/array.hpp>
#endif
#include <vector>
#include <ctime>
#include <cstring>
Expand All @@ -43,7 +49,10 @@

#include "testutils.hpp"

// QT's moc doesn't like BOOST_JOIN ( can be removed in QT 5.0 we think)
#ifndef Q_MOC_RUN
#include <boost/algorithm/string.hpp>
#endif

using tinia::model::impl::ElementData;
using tinia::model::impl::xml::xpathQuery;
Expand Down
3 changes: 3 additions & 0 deletions unittests/modelxml/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,7 @@
*/

#define BOOST_TEST_MODULE ExposedModelTest
// QT's moc doesn't like BOOST_JOIN ( can be removed in QT 5.0 we think)
#ifndef Q_MOC_RUN
#include <boost/test/unit_test.hpp>
#endif
6 changes: 6 additions & 0 deletions unittests/qtcontroller/EventHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,17 @@
* along with the Tinia Framework. If not, see <http://www.gnu.org/licenses/>.
*/

// QT's moc doesn't like BOOST_JOIN ( can be removed in QT 5.0 we think)
#ifndef Q_MOC_RUN
#include <boost/test/unit_test.hpp>
#endif
#include <tinia/qtcontroller/impl/EventHandler.hpp>
#include <tinia/qtcontroller/impl/ScriptEngine.hpp>
#include <tinia/qtcontroller/scripting/KeyboardEvent.hpp>
// QT's moc doesn't like BOOST_JOIN ( can be removed in QT 5.0 we think)
#ifndef Q_MOC_RUN
#include <boost/make_shared.hpp>
#endif

BOOST_AUTO_TEST_SUITE(EventHandler)

Expand Down
3 changes: 3 additions & 0 deletions unittests/qtcontroller/ScriptEngine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@
* along with the Tinia Framework. If not, see <http://www.gnu.org/licenses/>.
*/

// QT's moc doesn't like BOOST_JOIN ( can be removed in QT 5.0 we think)
#ifndef Q_MOC_RUN
#include <boost/test/unit_test.hpp>
#endif
#include <tinia/qtcontroller/impl/ScriptEngine.hpp>

BOOST_AUTO_TEST_SUITE(ScriptEngine)
Expand Down
3 changes: 3 additions & 0 deletions unittests/qtcontroller/Server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@
* along with the Tinia Framework. If not, see <http://www.gnu.org/licenses/>.
*/

// QT's moc doesn't like BOOST_JOIN ( can be removed in QT 5.0 we think)
#ifndef Q_MOC_RUN
#include <boost/test/unit_test.hpp>
#endif
#include "tinia/qtcontroller/impl/http_utils.hpp"
#include <QString>

Expand Down
3 changes: 3 additions & 0 deletions unittests/qtcontroller/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@
*/

#define BOOST_TEST_MODULE qtcontrollerTest
// QT's moc doesn't like BOOST_JOIN ( can be removed in QT 5.0 we think)
#ifndef Q_MOC_RUN
#include <boost/test/unit_test.hpp>
#endif
#include <QApplication>

/*
Expand Down