summaryrefslogtreecommitdiffstats
path: root/libraries/logic/tools/JVisualVM.h
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/logic/tools/JVisualVM.h')
-rw-r--r--libraries/logic/tools/JVisualVM.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/libraries/logic/tools/JVisualVM.h b/libraries/logic/tools/JVisualVM.h
new file mode 100644
index 00000000..0674da13
--- /dev/null
+++ b/libraries/logic/tools/JVisualVM.h
@@ -0,0 +1,15 @@
+#pragma once
+
+#include "BaseProfiler.h"
+
+#include "multimc_logic_export.h"
+
+class MULTIMC_LOGIC_EXPORT JVisualVMFactory : public BaseProfilerFactory
+{
+public:
+ QString name() const override { return "JVisualVM"; }
+ 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;
+};