[Web] remove unused headers and Xerces
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -5,7 +5,6 @@ include_directories(
|
||||
${OCC_INCLUDE_DIR}
|
||||
${PYTHON_INCLUDE_DIRS}
|
||||
${ZLIB_INCLUDE_DIR}
|
||||
${XercesC_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
if(BUILD_QT5)
|
||||
|
||||
@@ -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_
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user