-
Notifications
You must be signed in to change notification settings - Fork 0
/
armmcuplugin.h
46 lines (35 loc) · 1 KB
/
armmcuplugin.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
37
38
39
40
41
42
43
44
45
46
#pragma once
#include "armmcu_global.h"
#include <extensionsystem/iplugin.h>
#include"importprojectdialog.h"
#include"projectoptiondialog.h"
#include"debuggerviewdialog.h"
#include"projectconfigstruct.h"
namespace ArmMcu {
namespace Internal {
class ArmMcuPlugin : public ExtensionSystem::IPlugin
{
Q_OBJECT
Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QtCreatorPlugin" FILE "ArmMcu.json")
public:
ArmMcuPlugin();
~ArmMcuPlugin();
bool initialize(const QStringList &arguments, QString *errorString);
void extensionsInitialized();
ShutdownFlag aboutToShutdown();
private slots:
void importTriggerAction();
void ProjectOption();
void AboutArmMcuAction();
void CmsisRtosDebugerViewAction();
private:
ImportProjectDialog *ipjd;
ProjectOptionDialog *proSetDlg;
DebuggerViewDialog *debugview;
ProjectConfig m_ProjectConfig;
QString ThisPluginProjectPath;
signals:
void ProjectConfigChange(ProjectConfig &p);
};
} // namespace Internal
} // namespace ArmMcu