aboutsummaryrefslogtreecommitdiff
path: root/src/client/windows
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/windows')
-rw-r--r--src/client/windows/common/ipc_protocol.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/client/windows/common/ipc_protocol.h b/src/client/windows/common/ipc_protocol.h
index 35b99016..e0a27a88 100644
--- a/src/client/windows/common/ipc_protocol.h
+++ b/src/client/windows/common/ipc_protocol.h
@@ -71,6 +71,11 @@ struct CustomInfoEntry {
wcscpy_s(value, kValueMaxLength, value_arg);
}
+ void set(const wchar_t* name_arg, const wchar_t* value_arg) {
+ set_name(name_arg);
+ set_value(value_arg);
+ }
+
wchar_t name[kNameMaxLength];
wchar_t value[kValueMaxLength];
};