aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/ipc/IpcMessage.h
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@unit193.net>2020-07-21 06:15:04 -0400
committerLibravatarUnit 193 <unit193@unit193.net>2020-07-21 06:15:04 -0400
commitfbc30002ab3438356c0476e70c4577a0310d52c0 (patch)
tree62b4c241ad0b2a65b0e430b9f7710ed944d30fb1 /src/lib/ipc/IpcMessage.h
parentdff8b887edf10407f22aaab9d147948cd5491f0a (diff)
New upstream version 2.3.3+dfsg.upstream/2.3.3+dfsg
Diffstat (limited to 'src/lib/ipc/IpcMessage.h')
-rw-r--r--src/lib/ipc/IpcMessage.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/lib/ipc/IpcMessage.h b/src/lib/ipc/IpcMessage.h
index 5cc3d79..d37ebc3 100644
--- a/src/lib/ipc/IpcMessage.h
+++ b/src/lib/ipc/IpcMessage.h
@@ -20,8 +20,8 @@
#include "ipc/Ipc.h"
#include "base/EventTypes.h"
-#include "base/String.h"
#include "base/Event.h"
+#include <string>
class IpcMessage : public EventData {
public:
@@ -58,28 +58,28 @@ public:
class IpcLogLineMessage : public IpcMessage {
public:
- IpcLogLineMessage(const String& logLine);
+ IpcLogLineMessage(const std::string& logLine);
virtual ~IpcLogLineMessage();
//! Gets the log line.
- String logLine() const { return m_logLine; }
+ std::string logLine() const { return m_logLine; }
private:
- String m_logLine;
+ std::string m_logLine;
};
class IpcCommandMessage : public IpcMessage {
public:
- IpcCommandMessage(const String& command, bool elevate);
+ IpcCommandMessage(const std::string& command, bool elevate);
virtual ~IpcCommandMessage();
//! Gets the command.
- String command() const { return m_command; }
+ std::string command() const { return m_command; }
//! Gets whether or not the process should be elevated on MS Windows.
bool elevate() const { return m_elevate; }
private:
- String m_command;
+ std::string m_command;
bool m_elevate;
};