diff options
Diffstat (limited to 'launcher/minecraft/Agent.h')
-rw-r--r-- | launcher/minecraft/Agent.h | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/launcher/minecraft/Agent.h b/launcher/minecraft/Agent.h index 374e6e94..8958521e 100644 --- a/launcher/minecraft/Agent.h +++ b/launcher/minecraft/Agent.h @@ -9,28 +9,21 @@ class Agent; typedef std::shared_ptr<Agent> AgentPtr; class Agent { -public: - Agent(LibraryPtr library, const QString &argument) + public: + Agent(LibraryPtr library, const QString& argument) { m_library = library; m_argument = argument; } -public: /* methods */ - - LibraryPtr library() { - return m_library; - } - QString argument() { - return m_argument; - } - -protected: /* data */ + public: /* methods */ + LibraryPtr library() { return m_library; } + QString argument() { return m_argument; } + protected: /* data */ /// The library pointing to the jar this Java agent is contained within LibraryPtr m_library; /// The argument to the Java agent, passed after an = if present QString m_argument; - }; |