Changeset View
Changeset View
Standalone View
Standalone View
plugins/meson/mesonmanager.h
Show All 34 Lines | |||||
35 | public: | 35 | public: | ||
36 | explicit MesonManager(QObject* parent = nullptr, const QVariantList& args = QVariantList()); | 36 | explicit MesonManager(QObject* parent = nullptr, const QVariantList& args = QVariantList()); | ||
37 | ~MesonManager() override; | 37 | ~MesonManager() override; | ||
38 | 38 | | |||
39 | // ******************** | 39 | // ******************** | ||
40 | // * Custom functions * | 40 | // * Custom functions * | ||
41 | // ******************** | 41 | // ******************** | ||
42 | 42 | | |||
43 | /// Create a new build directory and write it into the config | 43 | /** | ||
44 | Meson::BuildDir newBuildDirectory(KDevelop::IProject* project); | 44 | * Create a new build directory and write it into the config. | ||
45 | * @returns The configuration job on success or nullptr on error. | ||||
46 | */ | ||||
47 | KJob *newBuildDirectory(KDevelop::IProject* project); | ||||
45 | 48 | | |||
46 | /// Returns a list of all supported Meson backends (for now only ninja) | 49 | /// Returns a list of all supported Meson backends (for now only ninja) | ||
47 | QStringList supportedMesonBackends() const; | 50 | QStringList supportedMesonBackends() const; | ||
48 | QString defaultMesonBackend() const; | 51 | QString defaultMesonBackend() const; | ||
49 | 52 | | |||
50 | KDevelop::Path findMeson() const; | 53 | KDevelop::Path findMeson() const; | ||
51 | 54 | | |||
52 | void setProjectData(KDevelop::IProject* project, const QJsonObject& data); | 55 | void setProjectData(KDevelop::IProject* project, const QJsonObject& data); | ||
▲ Show 20 Lines • Show All 57 Lines • Show Last 20 Lines |