diff options
author | Petr Mrázek <peterix@gmail.com> | 2016-04-10 04:29:29 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2016-04-30 23:59:23 +0200 |
commit | 47e37635f50c09b4f9a9ee7699e3120bab3e4088 (patch) | |
tree | 061c2f675fb7e244ebe4b54ef206bfbd615c91f8 /libraries/logic/tools/JProfiler.h | |
parent | fcd4a482f759cd58ee319a51082d0146b7e426e2 (diff) | |
download | PrismLauncher-47e37635f50c09b4f9a9ee7699e3120bab3e4088.tar.gz PrismLauncher-47e37635f50c09b4f9a9ee7699e3120bab3e4088.tar.bz2 PrismLauncher-47e37635f50c09b4f9a9ee7699e3120bab3e4088.zip |
NOISSUE split GUI stuff from logic library
Diffstat (limited to 'libraries/logic/tools/JProfiler.h')
-rw-r--r-- | libraries/logic/tools/JProfiler.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/libraries/logic/tools/JProfiler.h b/libraries/logic/tools/JProfiler.h new file mode 100644 index 00000000..d658d6c2 --- /dev/null +++ b/libraries/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; +}; |