summaryrefslogtreecommitdiffstats
path: root/api/logic/tools/JProfiler.h
diff options
context:
space:
mode:
Diffstat (limited to 'api/logic/tools/JProfiler.h')
-rw-r--r--api/logic/tools/JProfiler.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/api/logic/tools/JProfiler.h b/api/logic/tools/JProfiler.h
new file mode 100644
index 00000000..d658d6c2
--- /dev/null
+++ b/api/logic/tools/JProfiler.h
@@ -0,0 +1,15 @@
+#pragma once
+
+#include "BaseProfiler.h"
+
+#include "multimc_logic_export.h"
+
+class MULTIMC_LOGIC_EXPORT JProfilerFactory : public BaseProfilerFactory
+{
+public:
+ QString name() const override { return "JProfiler"; }
+ void registerSettings(SettingsObjectPtr settings) override;
+ BaseExternalTool *createTool(InstancePtr instance, QObject *parent = 0) override;
+ bool check(QString *error) override;
+ bool check(const QString &path, QString *error) override;
+};