diff options
author | Petr Mrázek <peterix@gmail.com> | 2014-02-24 00:29:13 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2014-02-24 00:29:13 +0100 |
commit | f7c97efcf3785f597417895945b24c2e7476cba8 (patch) | |
tree | c0ad8ba4b59bf9be441c2037ae7592585c3cbe58 /gui/MainWindow.h | |
parent | e3d2e5fd7405baa8137e300e8cc817e70df172b7 (diff) | |
parent | a354e8bfae812b23b85b65c4a5b7e860cb18080c (diff) | |
download | PrismLauncher-f7c97efcf3785f597417895945b24c2e7476cba8.tar.gz PrismLauncher-f7c97efcf3785f597417895945b24c2e7476cba8.tar.bz2 PrismLauncher-f7c97efcf3785f597417895945b24c2e7476cba8.zip |
Merge branch 'feature_profiling' into integration_json_and_tools
Diffstat (limited to 'gui/MainWindow.h')
-rw-r--r-- | gui/MainWindow.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/gui/MainWindow.h b/gui/MainWindow.h index 4d9e165d..7a29977d 100644 --- a/gui/MainWindow.h +++ b/gui/MainWindow.h @@ -29,6 +29,7 @@ class LabeledToolButton; class QLabel; class MinecraftProcess; class ConsoleWindow; +class BaseProfilerFactory; namespace Ui { @@ -111,18 +112,18 @@ slots: * Launches the currently selected instance with the default account. * If no default account is selected, prompts the user to pick an account. */ - void doLaunch(bool online = true); + void doLaunch(bool online = true, BaseProfilerFactory *profiler = 0); /*! * Launches the given instance with the given account. * This function assumes that the given account has a valid, usable access token. */ - void launchInstance(BaseInstance *instance, AuthSessionPtr session); + void launchInstance(BaseInstance *instance, AuthSessionPtr session, BaseProfilerFactory *profiler = 0); /*! * Prepares the given instance for launch with the given account. */ - void updateInstance(BaseInstance *instance, AuthSessionPtr account); + void updateInstance(BaseInstance *instance, AuthSessionPtr account, BaseProfilerFactory *profiler = 0); void onGameUpdateError(QString error); @@ -140,6 +141,8 @@ slots: void showInstanceContextMenu(const QPoint&); + void updateToolsMenu(); + public slots: void instanceActivated(QModelIndex); |