5be80df1ee
Signed-off-by: LocalSpook <56512186+LocalSpook@users.noreply.github.com>
30 lines
608 B
C++
30 lines
608 B
C++
#pragma once
|
|
|
|
#include <QString>
|
|
|
|
#include "Library.h"
|
|
|
|
class Agent;
|
|
|
|
using AgentPtr = std::shared_ptr<Agent>;
|
|
|
|
class Agent {
|
|
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 */
|
|
/// 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;
|
|
};
|