Skip to content
Snippets Groups Projects
Commit b0d057e4 authored by Norihiro Watanabe's avatar Norihiro Watanabe
Browse files

use the new FileFinder constructor and the schema path

parent 8511dd04
No related branches found
No related tags found
No related merge requests found
......@@ -18,29 +18,31 @@
#include <vector>
#include <logog/include/logog.hpp>
#include <QFile>
#include <QFileInfo>
#include <QtXml/QDomDocument>
#include "BaseLib/BuildInfo.h"
#include "BaseLib/FileTools.h"
#include "BaseLib/FileFinder.h"
#include "BaseLib/IO/Writer.h"
#include "GeoLib/GEOObjects.h"
#include "GeoLib/IO/XmlIO/Qt/XmlGmlInterface.h"
#include "GeoLib/IO/XmlIO/Qt/XmlStnInterface.h"
#include "BaseLib/FileTools.h"
#include "BaseLib/FileFinder.h"
#include "BaseLib/IO/Writer.h"
#include "MeshLib/IO/Legacy/MeshIO.h"
#include "MeshLib/IO/readMeshFromFile.h"
#include "MeshLib/Mesh.h"
#include <QFile>
#include <QFileInfo>
#include <QtXml/QDomDocument>
namespace FileIO
{
XmlGspInterface::XmlGspInterface(DataHolderLib::Project& project)
: XMLInterface(), XMLQtInterface(BaseLib::FileFinder().getPath("OpenGeoSysProject.xsd")),
: XMLInterface(), XMLQtInterface(BaseLib::FileFinder(BaseLib::BuildInfo::app_xml_schema_path).getPath("OpenGeoSysProject.xsd")),
_project(project)
{
}
......
......@@ -20,13 +20,14 @@
#include <logog/include/logog.hpp>
#include "BaseLib/BuildInfo.h"
#include "BaseLib/FileFinder.h"
namespace FileIO
{
XmlNumInterface::XmlNumInterface() :
XMLInterface(), XMLQtInterface(BaseLib::FileFinder().getPath("OpenGeoSysNUM.xsd"))
XMLInterface(), XMLQtInterface(BaseLib::FileFinder(BaseLib::BuildInfo::app_xml_schema_path).getPath("OpenGeoSysNUM.xsd"))
{
}
......
......@@ -20,6 +20,7 @@
#include <logog/include/logog.hpp>
#include "BaseLib/BuildInfo.h"
#include "BaseLib/FileFinder.h"
#include "GeoLib/Triangle.h"
......@@ -28,7 +29,7 @@ namespace GeoLib
namespace IO
{
XmlGmlInterface::XmlGmlInterface(GeoLib::GEOObjects& geo_objs) :
XMLInterface(), XMLQtInterface(BaseLib::FileFinder().getPath("OpenGeoSysGLI.xsd")), _geo_objs(geo_objs)
XMLInterface(), XMLQtInterface(BaseLib::FileFinder(BaseLib::BuildInfo::geo_xml_schema_path).getPath("OpenGeoSysGLI.xsd")), _geo_objs(geo_objs)
{
}
......
......@@ -21,6 +21,7 @@
#include <logog/include/logog.hpp>
#include "BaseLib/BuildInfo.h"
#include "BaseLib/DateTools.h"
#include "BaseLib/FileTools.h"
#include "BaseLib/FileFinder.h"
......@@ -33,7 +34,7 @@ namespace GeoLib
namespace IO
{
XmlStnInterface::XmlStnInterface(GeoLib::GEOObjects& geo_objs) :
XMLInterface(), XMLQtInterface(BaseLib::FileFinder().getPath("OpenGeoSysSTN.xsd")), _geo_objs(geo_objs)
XMLInterface(), XMLQtInterface(BaseLib::FileFinder(BaseLib::BuildInfo::geo_xml_schema_path).getPath("OpenGeoSysSTN.xsd")), _geo_objs(geo_objs)
{
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment