2017-12-05 07:57:41 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "config.h"
|
|
|
|
#include "file_consumer.h"
|
|
|
|
#include "import_manager.h"
|
|
|
|
#include "ipc_manager.h"
|
|
|
|
#include "project.h"
|
2017-12-06 03:32:33 +00:00
|
|
|
#include "semantic_highlight_symbol_cache.h"
|
2017-12-05 07:57:41 +00:00
|
|
|
#include "threaded_queue.h"
|
|
|
|
#include "timestamp_manager.h"
|
|
|
|
#include "work_thread.h"
|
|
|
|
#include "working_files.h"
|
|
|
|
|
|
|
|
// Contains declarations for some of the thread-main functions.
|
|
|
|
|
2017-12-06 03:32:33 +00:00
|
|
|
bool QueryDb_ImportMain(Config* config,
|
|
|
|
QueryDatabase* db,
|
|
|
|
ImportManager* import_manager,
|
|
|
|
QueueManager* queue,
|
|
|
|
SemanticHighlightSymbolCache* semantic_cache,
|
|
|
|
WorkingFiles* working_files);
|
|
|
|
|
2017-12-05 07:57:41 +00:00
|
|
|
WorkThread::Result IndexMain(Config* config,
|
|
|
|
FileConsumer::SharedState* file_consumer_shared,
|
|
|
|
TimestampManager* timestamp_manager,
|
|
|
|
ImportManager* import_manager,
|
|
|
|
Project* project,
|
|
|
|
WorkingFiles* working_files,
|
|
|
|
MultiQueueWaiter* waiter,
|
|
|
|
QueueManager* queue);
|