strat: use m_ for member variables

This commit is contained in:
Michael Scire
2021-10-10 00:14:06 -07:00
parent ce28591ab2
commit a595c232b9
425 changed files with 8531 additions and 8484 deletions

View File

@@ -20,63 +20,63 @@ namespace ams::lr {
class RemoteLocationResolverImpl {
private:
::LrLocationResolver srv;
::LrLocationResolver m_srv;
public:
RemoteLocationResolverImpl(::LrLocationResolver &l) : srv(l) { /* ... */ }
RemoteLocationResolverImpl(::LrLocationResolver &l) : m_srv(l) { /* ... */ }
~RemoteLocationResolverImpl() { ::serviceClose(std::addressof(srv.s)); }
~RemoteLocationResolverImpl() { ::serviceClose(std::addressof(m_srv.s)); }
public:
/* Actual commands. */
Result ResolveProgramPath(sf::Out<Path> out, ncm::ProgramId id) {
return ::lrLrResolveProgramPath(std::addressof(this->srv), id.value, out->str);
return ::lrLrResolveProgramPath(std::addressof(m_srv), id.value, out->str);
}
Result RedirectProgramPath(const Path &path, ncm::ProgramId id) {
return ::lrLrRedirectProgramPath(std::addressof(this->srv), id.value, path.str);
return ::lrLrRedirectProgramPath(std::addressof(m_srv), id.value, path.str);
}
Result ResolveApplicationControlPath(sf::Out<Path> out, ncm::ProgramId id) {
return ::lrLrResolveApplicationControlPath(std::addressof(this->srv), id.value, out->str);
return ::lrLrResolveApplicationControlPath(std::addressof(m_srv), id.value, out->str);
}
Result ResolveApplicationHtmlDocumentPath(sf::Out<Path> out, ncm::ProgramId id) {
return ::lrLrResolveApplicationHtmlDocumentPath(std::addressof(this->srv), id.value, out->str);
return ::lrLrResolveApplicationHtmlDocumentPath(std::addressof(m_srv), id.value, out->str);
}
Result ResolveDataPath(sf::Out<Path> out, ncm::DataId id) {
return ::lrLrResolveDataPath(std::addressof(this->srv), id.value, out->str);
return ::lrLrResolveDataPath(std::addressof(m_srv), id.value, out->str);
}
Result RedirectApplicationControlPathDeprecated(const Path &path, ncm::ProgramId id) {
return ::lrLrRedirectApplicationControlPath(std::addressof(this->srv), id.value, 0, path.str);
return ::lrLrRedirectApplicationControlPath(std::addressof(m_srv), id.value, 0, path.str);
}
Result RedirectApplicationControlPath(const Path &path, ncm::ProgramId id, ncm::ProgramId owner_id) {
return ::lrLrRedirectApplicationControlPath(std::addressof(this->srv), id.value, owner_id.value, path.str);
return ::lrLrRedirectApplicationControlPath(std::addressof(m_srv), id.value, owner_id.value, path.str);
}
Result RedirectApplicationHtmlDocumentPathDeprecated(const Path &path, ncm::ProgramId id) {
return ::lrLrRedirectApplicationHtmlDocumentPath(std::addressof(this->srv), id.value, 0, path.str);
return ::lrLrRedirectApplicationHtmlDocumentPath(std::addressof(m_srv), id.value, 0, path.str);
}
Result RedirectApplicationHtmlDocumentPath(const Path &path, ncm::ProgramId id, ncm::ProgramId owner_id) {
return ::lrLrRedirectApplicationHtmlDocumentPath(std::addressof(this->srv), id.value, owner_id.value, path.str);
return ::lrLrRedirectApplicationHtmlDocumentPath(std::addressof(m_srv), id.value, owner_id.value, path.str);
}
Result ResolveApplicationLegalInformationPath(sf::Out<Path> out, ncm::ProgramId id) {
return ::lrLrResolveApplicationLegalInformationPath(std::addressof(this->srv), id.value, out->str);
return ::lrLrResolveApplicationLegalInformationPath(std::addressof(m_srv), id.value, out->str);
}
Result RedirectApplicationLegalInformationPathDeprecated(const Path &path, ncm::ProgramId id) {
return ::lrLrRedirectApplicationLegalInformationPath(std::addressof(this->srv), id.value, 0, path.str);
return ::lrLrRedirectApplicationLegalInformationPath(std::addressof(m_srv), id.value, 0, path.str);
}
Result RedirectApplicationLegalInformationPath(const Path &path, ncm::ProgramId id, ncm::ProgramId owner_id) {
return ::lrLrRedirectApplicationLegalInformationPath(std::addressof(this->srv), id.value, owner_id.value, path.str);
return ::lrLrRedirectApplicationLegalInformationPath(std::addressof(m_srv), id.value, owner_id.value, path.str);
}
Result Refresh() {
return ::lrLrRefresh(std::addressof(this->srv));
return ::lrLrRefresh(std::addressof(m_srv));
}
Result RedirectApplicationProgramPathDeprecated(const Path &path, ncm::ProgramId id) {
@@ -103,7 +103,7 @@ namespace ams::lr {
}
Result EraseProgramRedirection(ncm::ProgramId id) {
return ::lrLrEraseProgramRedirection(std::addressof(this->srv), id.value);
return ::lrLrEraseProgramRedirection(std::addressof(m_srv), id.value);
}
Result EraseApplicationControlRedirection(ncm::ProgramId id) {