-
Notifications
You must be signed in to change notification settings - Fork 2
/
plugin.h
36 lines (26 loc) · 961 Bytes
/
plugin.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/** @author Kamil Zaripov
@date 28.10.2018 */
#pragma once
#include "conan_global.h"
#include <extensionsystem/iplugin.h>
#include <projectexplorer/session.h>
namespace Conan {
namespace Internal {
class ConanPlugin : public ExtensionSystem::IPlugin {
Q_OBJECT
Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QtCreatorPlugin" FILE "Conan.json")
public:
ConanPlugin();
~ConanPlugin();
bool initialize(const QStringList & arguments, QString * errorString);
void extensionsInitialized() {}
// ShutdownFlag aboutToShutdown();
private:
void addProject(ProjectExplorer::Project * project);
void removeProject(ProjectExplorer::Project * project);
void handleProject(ProjectExplorer::Project * project);
void updateConanLocation();
class ConanPluginPrivate * d = nullptr;
};
}
}