Add a convenience method to CustomClientInfo struct to set both name and value in one call.

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@268 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
doshimun 2008-05-05 21:03:51 +00:00
parent 0ded3d718f
commit 3d4dc1f201

View file

@ -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];
};