mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-22 15:45:08 +00:00
Move entry_points.h into import_pipeline.h
This commit is contained in:
parent
36e7fa9a76
commit
59e79b3c42
@ -1,30 +0,0 @@
|
|||||||
#pragma once
|
|
||||||
|
|
||||||
#include "config.h"
|
|
||||||
#include "file_consumer.h"
|
|
||||||
#include "import_manager.h"
|
|
||||||
#include "import_pipeline.h"
|
|
||||||
#include "queue_manager.h"
|
|
||||||
#include "project.h"
|
|
||||||
#include "semantic_highlight_symbol_cache.h"
|
|
||||||
#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.
|
|
||||||
|
|
||||||
bool QueryDb_ImportMain(Config* config,
|
|
||||||
QueryDatabase* db,
|
|
||||||
ImportManager* import_manager,
|
|
||||||
SemanticHighlightSymbolCache* semantic_cache,
|
|
||||||
WorkingFiles* working_files);
|
|
||||||
|
|
||||||
void IndexMain(Config* config,
|
|
||||||
FileConsumer::SharedState* file_consumer_shared,
|
|
||||||
TimestampManager* timestamp_manager,
|
|
||||||
ImportManager* import_manager,
|
|
||||||
ImportPipelineStatus* status,
|
|
||||||
Project* project,
|
|
||||||
WorkingFiles* working_files,
|
|
||||||
MultiQueueWaiter* waiter);
|
|
@ -9,8 +9,11 @@
|
|||||||
struct ClangTranslationUnit;
|
struct ClangTranslationUnit;
|
||||||
struct Config;
|
struct Config;
|
||||||
struct ImportManager;
|
struct ImportManager;
|
||||||
|
struct MultiQueueWaiter;
|
||||||
|
struct Project;
|
||||||
struct QueryDatabase;
|
struct QueryDatabase;
|
||||||
struct SemanticHighlightSymbolCache;
|
struct SemanticHighlightSymbolCache;
|
||||||
|
struct TimestampManager;
|
||||||
struct WorkingFiles;
|
struct WorkingFiles;
|
||||||
|
|
||||||
struct ImportPipelineStatus {
|
struct ImportPipelineStatus {
|
||||||
@ -26,6 +29,15 @@ void IndexWithTuFromCodeCompletion(
|
|||||||
const std::string& path,
|
const std::string& path,
|
||||||
const std::vector<std::string>& args);
|
const std::vector<std::string>& args);
|
||||||
|
|
||||||
|
void IndexMain(Config* config,
|
||||||
|
FileConsumer::SharedState* file_consumer_shared,
|
||||||
|
TimestampManager* timestamp_manager,
|
||||||
|
ImportManager* import_manager,
|
||||||
|
ImportPipelineStatus* status,
|
||||||
|
Project* project,
|
||||||
|
WorkingFiles* working_files,
|
||||||
|
MultiQueueWaiter* waiter);
|
||||||
|
|
||||||
bool QueryDb_ImportMain(Config* config,
|
bool QueryDb_ImportMain(Config* config,
|
||||||
QueryDatabase* db,
|
QueryDatabase* db,
|
||||||
ImportManager* import_manager,
|
ImportManager* import_manager,
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#include "entry_points.h"
|
#include "import_pipeline.h"
|
||||||
#include "message_handler.h"
|
#include "message_handler.h"
|
||||||
|
|
||||||
#include <loguru.hpp>
|
#include <loguru.hpp>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#include "entry_points.h"
|
#include "import_pipeline.h"
|
||||||
#include "message_handler.h"
|
#include "message_handler.h"
|
||||||
#include "platform.h"
|
#include "platform.h"
|
||||||
#include "timer.h"
|
#include "timer.h"
|
||||||
|
Loading…
Reference in New Issue
Block a user