Differential D1047 Diff 2606 languages/plugins/custom-definesandincludes/idefinesandincludesmanager.h
Changeset View
Changeset View
Standalone View
Standalone View
languages/plugins/custom-definesandincludes/idefinesandincludesmanager.h
Show First 20 Lines • Show All 129 Lines • ▼ Show 20 Line(s) | 49 | public: | |||
---|---|---|---|---|---|
130 | * | 130 | * | ||
131 | * Call it from background thread if possible. | 131 | * Call it from background thread if possible. | ||
132 | **/ | 132 | **/ | ||
133 | virtual Defines definesInBackground( const QString& path ) const = 0; | 133 | virtual Defines definesInBackground( const QString& path ) const = 0; | ||
134 | 134 | | |||
135 | /** | 135 | /** | ||
136 | * @param item project item. Use nullptr to get default arguments | 136 | * @param item project item. Use nullptr to get default arguments | ||
137 | * @return The parser command-line arguments used to parse the @p item | 137 | * @return The parser command-line arguments used to parse the @p item | ||
138 | * | | |||
139 | * NOTE: Call it from the main thread only, the default arguments can also be retrieved from a background thread | | |||
140 | */ | 138 | */ | ||
141 | virtual QString parserArguments(ProjectBaseItem* item) const = 0; | 139 | virtual QString parserArguments(ProjectBaseItem* item) const = 0; | ||
142 | 140 | | |||
141 | virtual QString parserArguments(const QString& path) const = 0; | ||||
142 | | ||||
143 | ///@return the instance of the plugin. | 143 | ///@return the instance of the plugin. | ||
144 | inline static IDefinesAndIncludesManager* manager(); | 144 | inline static IDefinesAndIncludesManager* manager(); | ||
145 | 145 | | |||
146 | virtual ~IDefinesAndIncludesManager() = default; | 146 | virtual ~IDefinesAndIncludesManager() = default; | ||
147 | 147 | | |||
148 | /** | 148 | /** | ||
149 | * Register the @p provider | 149 | * Register the @p provider | ||
150 | */ | 150 | */ | ||
▲ Show 20 Lines • Show All 44 Lines • Show Last 20 Lines |