[Web] remove unused headers and Xerces

This commit is contained in:
Uwe
2022-03-20 21:16:27 +01:00
parent 81690adaaf
commit b8d5f77da3
14 changed files with 60 additions and 100 deletions

View File

@@ -20,10 +20,8 @@
* *
***************************************************************************/
#include "PreCompiled.h"
#ifndef _PreComp_
# include <Python.h>
# include <climits>
# include <sstream>
#endif
@@ -32,10 +30,9 @@
#include <Base/Interpreter.h>
#include <Base/PyObjectBase.h>
#include <CXX/Extensions.hxx>
#include <CXX/Objects.hxx>
#include "Server.h"
// See http://docs.python.org/2/library/socketserver.html
/*
import socket

View File

@@ -5,7 +5,6 @@ include_directories(
${OCC_INCLUDE_DIR}
${PYTHON_INCLUDE_DIRS}
${ZLIB_INCLUDE_DIR}
${XercesC_INCLUDE_DIRS}
)
if(BUILD_QT5)

View File

@@ -38,13 +38,16 @@
// standard
#include <cstdio>
#include <cassert>
#include <climits>
#include <iostream>
#include <stdexcept>
// STL
#include <algorithm>
#include <iostream>
#include <list>
#include <map>
#include <memory>
#include <queue>
#include <set>
#include <sstream>
@@ -52,8 +55,9 @@
#include <string>
#include <vector>
// Xerces
#include <xercesc/util/XercesDefs.hpp>
// Qt
#include <QCoreApplication>
#include <QTcpSocket>
#endif //_PreComp_

View File

@@ -20,18 +20,20 @@
* *
***************************************************************************/
#include "PreCompiled.h"
#ifndef _PreComp_
# include <stdexcept>
# include <memory>
# include <QCoreApplication>
# include <QTcpSocket>
#endif
#include <QCoreApplication>
#include <QTcpSocket>
#include <stdexcept>
#include <memory>
#include "Server.h"
#include <Base/Exception.h>
#include <Base/Interpreter.h>
#include "Server.h"
using namespace Web;
Firewall* Firewall::instance = 0;

View File

@@ -20,16 +20,14 @@
* *
***************************************************************************/
#ifndef WEB_SERVER_H
#define WEB_SERVER_H
#include <QByteArray>
#include <QObject>
#include <QEvent>
#include <QObject>
#include <QTcpSocket>
#include <QTcpServer>
#include <CXX/Objects.hxx>
namespace Web {