Commit 89555b80 authored by Mathieu Faverge's avatar Mathieu Faverge
Browse files

Suppression des sous-rep d'inclusion (Attention ca ne compile plus)

parent 00bb3d1b
......@@ -48,7 +48,7 @@
#define INFO_HPP
#include "../main_resource.hpp"
#include "main_resource.hpp"
class Interface_console;
/*!
......
......@@ -159,9 +159,11 @@ bool Interface_console::draw_trace(const string & filename, const int format){
if(filename.substr(position_of_dot) == ".trace") {
parser = new ParserPaje();
}
#ifdef WITH_OTF
else if(filename.substr(position_of_dot) == ".otf") {
parser = new ParserOTF();
}
#endif
else if(filename.substr(position_of_dot) == ".ept") {
parser = new ParserVite();
}
......
......@@ -59,20 +59,20 @@ class Interface_console;
* So do not include it twice.
*/
//#ifndef RENDER_AREA_HPP
#include "../render/Render_opengl_dl.hpp"
#include "Render_opengl_dl.hpp"
//#endif
#include "../render/render_svg.hpp"
#include "render_svg.hpp"
#include "../trace/Trace.hpp"
#include "../trace/DrawTrace.hpp"
#include "../parser/ParserPaje.hpp"
#include "../parser/ParserOTF.hpp"
#include "../parser/ParserVite.hpp"
#include "Trace.hpp"
#include "DrawTrace.hpp"
#include "ParserPaje.hpp"
#include "ParserOTF.hpp"
#include "ParserVite.hpp"
#include "resource.hpp"
#include "../general/Tools.hpp"
#include "Tools.hpp"
#include "parsing_thread.hpp"
......
......@@ -52,10 +52,10 @@ class Interface_graphic;
#include "../ui_main_window.h"/* the main window graphical interface */
#include "ui_main_window.h"/* the main window graphical interface */
/* Global informations */
#include "../info/info.hpp"
#include "info.hpp"
#include "interface.hpp"
#include "interface_console.hpp"
......@@ -63,7 +63,7 @@ class Interface_graphic;
#include "resource.hpp"
#include "help.hpp"
#include "../statistics/Stats_window.hpp"
#include "Stats_window.hpp"
/*!
*\brief This class is a graphical interface which creates a window, it inherited from the Interface interface.
......
......@@ -44,8 +44,8 @@
#define PARSING_THREAD_HPP
#include <QThread>
#include "../parser/ParserPaje.hpp"
#include "../trace/Trace.hpp"
#include "ParserPaje.hpp"
#include "Trace.hpp"
#include <iostream>
/*!
......
......@@ -51,7 +51,7 @@
#define INTERFACE_RESOURCE_HPP
#include "../main_resource.hpp"
#include "main_resource.hpp"
/*
......
......@@ -64,9 +64,9 @@
#include <QApplication>
/* Global informations */
#include "info/info.hpp"
#include "info.hpp"
#include "interface/interface_console.hpp"
#include "interface_console.hpp"
/*!
*\brief The main function of ViTE.
......
......@@ -94,7 +94,7 @@ typedef double Times;
/* Message management */
#include "message/Message.hpp"
#include "Message.hpp"
/* Example:
......
......@@ -47,7 +47,7 @@
#ifndef VITE_DEBUG
/* Release mode */
#include "../interface/interface.hpp"
#include "interface.hpp"
#else
/* Test mode */
......
......@@ -49,13 +49,13 @@
#define PARSER_HPP
#include <string>
#include "../trace/Trace.hpp"
#include "Trace.hpp"
#ifndef VITE_DEBUG
#include "../message/Errors.hpp"
#include "Errors.hpp"
#else
// For debugging
#include "../../tests/stubs/Errors.hpp"
#include "Errors.hpp"
#endif
/*!
......
......@@ -42,8 +42,8 @@
*/
#include "ParserDefinitionOTF.hpp"
#include "../trace/Trace.hpp"
#include "../trace/values/Color.hpp"
#include "Trace.hpp"
#include "Color.hpp"
using namespace std;
......
......@@ -52,10 +52,10 @@
#include <map>
#ifndef VITE_DEBUG
#include "../message/Errors.hpp"
#include "Errors.hpp"
#else
// For debugging
#include "../../tests/stubs/Errors.hpp"
#include "Errors.hpp"
#endif
......
......@@ -41,7 +41,7 @@
**
*/
#include "ParserEventOTF.hpp"
#include "../trace/Trace.hpp"
#include "Trace.hpp"
#include "ParserDefinitionOTF.hpp"
using namespace std;
......
......@@ -51,7 +51,7 @@
#include <iostream>
#include <map>
#include "otf.h"
#include "../message/Errors.hpp"
#include "Errors.hpp"
class ParserDefinitionOTF;
class Trace;
......
......@@ -44,8 +44,8 @@
#include "Definition.hpp"
#include "Line.hpp"
#include "../trace/Trace.hpp"
#include "../message/Errors.hpp"
#include "Trace.hpp"
#include "Errors.hpp"
using namespace std;
......
......@@ -87,8 +87,12 @@ void ParserPaje::parse(string filename, Trace &trace, bool finish_trace_after_pa
while(!(_file.is_eof() || _is_canceled)) {
_file.get_line(line);
try {
_file.get_line(line);
}
catch(char *){
continue;
}
if(line.starts_with(PERCENT)) {
parserdefinition->store_definition(line);
......
......@@ -59,12 +59,12 @@ class ParserEventPaje;
class Definition;
#ifndef VITE_DEBUG
#include "../trace/Trace.hpp"
#include "../message/Errors.hpp"
#include "Trace.hpp"
#include "Errors.hpp"
#else
// For debugging
#include "../../tests/stubs/Trace.hpp"
#include "../../tests/stubs/Errors.hpp"
#include "Trace.hpp"
#include "Errors.hpp"
#endif
......
......@@ -56,12 +56,12 @@
#include "Parser.hpp"
#ifndef VITE_DEBUG
#include "../trace/Trace.hpp"
#include "../message/Errors.hpp"
#include "Trace.hpp"
#include "Errors.hpp"
#else
// For debugging
#include "../../tests/stubs/Trace.hpp"
#include "../../tests/stubs/Errors.hpp"
#include "Trace.hpp"
#include "Errors.hpp"
#endif
class ParserPaje;
......
......@@ -46,7 +46,7 @@
#include "Render_area.hpp"
#include "../interface/interface_console.hpp"
#include "interface_console.hpp"
#include "Render_opengl.hpp"
......
......@@ -56,7 +56,7 @@ class Interface_console;
class Render_opengl;
/* Global informations */
#include "../info/info.hpp"
#include "info.hpp"
#include "resource.hpp"
......
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