build: fixed trial project

* fixed boost dependency
* fixed TaskParseCXX of trial to initialize correctly
This commit is contained in:
Eberhard Graether
2015-12-13 05:18:40 +01:00
parent 801c2555bc
commit 1ddc4609e4
2 changed files with 12 additions and 2 deletions
+9 -1
View File
@@ -1,17 +1,22 @@
#include "data/parser/cxx/TaskParseCxx.h"
#include "data/parser/ParserClient.h"
#include "utility/messaging/type/MessageFinishedParsing.h"
TaskParseCxx::TaskParseCxx(
ParserClient* client,
const FileManager* fileManager,
const Parser::Arguments& arguments,
const std::vector<FilePath>& files
)
: m_arguments(arguments)
: m_client(client)
, m_arguments(arguments)
{
}
void TaskParseCxx::enter()
{
m_client->startParsing();
}
Task::TaskState TaskParseCxx::update()
@@ -21,6 +26,9 @@ Task::TaskState TaskParseCxx::update()
void TaskParseCxx::exit()
{
m_client->finishParsing();
MessageFinishedParsing(0, 0, 0, 0).dispatch();
}
void TaskParseCxx::interrupt()