Commit 05f1c567 authored by Matthias Möller's avatar Matthias Möller

changed some c header includes to c++ pendant

refs #1624

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@16856 383ad7c9-94d9-4d36-a494-682f7c89f535
parent f3d07f57
......@@ -63,8 +63,8 @@
#include <OpenFlipper/widgets/glWidget/QtBaseViewer.hh>
// QT INCLUDES
#include <qvariant.h>
#include <qmainwindow.h>
#include <QVariant>
#include <QMainWindow>
#include <QToolBox>
#include <QStackedWidget>
#include <QSplashScreen>
......
......@@ -40,7 +40,7 @@
* *
\*===========================================================================*/
#include <qapplication.h>
#include <QApplication>
#include <QtGui>
#include <QFile>
#include <QMessageBox>
......
......@@ -47,7 +47,7 @@
#include "OpenFlipper/Core/Core.hh"
// Qt
#include <qapplication.h>
#include <QApplication>
#include <qgl.h>
// stdc++
......
......@@ -173,7 +173,7 @@ enum SG_Error {
# include <sys/types.h>
# include <sys/stat.h>
# include <glob.h>
# include <limits.h>
# include <climits>
# define MAX_PATH PATH_MAX
# define sg_strchr ::strchr
# define sg_strrchr ::strrchr
......@@ -184,9 +184,9 @@ enum SG_Error {
# define SOCHAR_T char
#endif
#include <stdlib.h>
#include <string.h>
#include <wchar.h>
#include <cstdlib>
#include <cstring>
#include <cwchar>
// use assertions to test the input data
#ifdef _DEBUG
......@@ -194,7 +194,7 @@ enum SG_Error {
# include <crtdbg.h>
# define SG_ASSERT(b) _ASSERTE(b)
# else
# include <assert.h>
# include <cassert>
# define SG_ASSERT(b) assert(b)
# endif
#else
......
......@@ -202,8 +202,8 @@ ShowFiles(args.FileCount(), args.Files());
#ifdef SO_MAX_ARGS
# define SO_STATICBUF SO_MAX_ARGS
#else
# include <stdlib.h> // malloc, free
# include <string.h> // memcpy
# include <cstdlib> // malloc, free
# include <cstring> // memcpy
# define SO_STATICBUF 50
#endif
......@@ -321,7 +321,7 @@ typedef enum _ESOArgType {
# include <crtdbg.h>
# define SO_ASSERT(b) _ASSERTE(b)
# else
# include <assert.h>
# include <cassert>
# define SO_ASSERT(b) assert(b)
# endif
#else
......
......@@ -65,7 +65,7 @@
#include <ACG/Math/Matrix4x4T.hh>
#include <ACG/Math/VectorT.hh>
#include <limits.h>
#include <climits>
#include <QIcon>
#include <QMetaType>
......
......@@ -52,7 +52,7 @@
#include <QDir>
#include "GlobalOptions.hh"
#include <stdlib.h>
#include <cstdlib>
#include <iostream>
#include <ACG/Scenegraph/DrawModes.hh>
#include <OpenFlipper/BasePlugin/PluginFunctionsViewControls.hh>
......
......@@ -64,7 +64,7 @@
#include <iostream>
#include <string>
#include <assert.h>
#include <cassert>
#include <QMimeData>
#include <QToolButton>
......
......@@ -47,7 +47,7 @@
#include <OpenFlipper/common/GlobalOptions.hh>
#include <iostream>
#include <math.h>
#include <cmath>
#include <OpenMesh/Core/System/omstream.hh>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment