logic: added option to execute custom indexer commands in parallel
This commit is contained in:
@@ -12,18 +12,32 @@ class IndexerCommandCustom
|
||||
public:
|
||||
static IndexerCommandType getStaticIndexerCommandType();
|
||||
|
||||
IndexerCommandCustom(const FilePath& sourceFilePath, const std::wstring& customCommand);
|
||||
IndexerCommandCustom(
|
||||
const std::wstring& customCommand,
|
||||
const FilePath& projectFilePath,
|
||||
const FilePath& databaseFilePath,
|
||||
const std::wstring& databaseVersion,
|
||||
const FilePath& sourceFilePath,
|
||||
bool runInParallel);
|
||||
|
||||
IndexerCommandType getIndexerCommandType() const override;
|
||||
size_t getByteSize(size_t stringSize) const override;
|
||||
|
||||
const std::wstring& getCustomCommand() const;
|
||||
FilePath getDatabaseFilePath() const;
|
||||
void setDatabaseFilePath(const FilePath& databaseFilePath);
|
||||
|
||||
std::wstring getCustomCommand() const;
|
||||
bool getRunInParallel() const;
|
||||
|
||||
protected:
|
||||
QJsonObject doSerialize() const override;
|
||||
|
||||
private:
|
||||
std::wstring m_customCommand;
|
||||
FilePath m_projectFilePath;
|
||||
FilePath m_databaseFilePath;
|
||||
std::wstring m_databaseVersion;
|
||||
bool m_runInParallel;
|
||||
};
|
||||
|
||||
#endif // INDEXER_COMMAND_CXXL_H
|
||||
|
||||
Reference in New Issue
Block a user