mirror of
https://github.com/jakcron/nstool.git
synced 2024-12-23 03:05:27 +00:00
[hac::ServiceAccessControl] replaced addService() with setServiceList().
This commit is contained in:
parent
e3e045ad0a
commit
687185ee14
|
@ -28,7 +28,7 @@ namespace hac
|
||||||
// variables
|
// variables
|
||||||
void clear();
|
void clear();
|
||||||
const fnd::List<ServiceAccessControlEntry>& getServiceList() const;
|
const fnd::List<ServiceAccessControlEntry>& getServiceList() const;
|
||||||
void addService(const ServiceAccessControlEntry& service);
|
void setServiceList(const fnd::List<ServiceAccessControlEntry>& list);
|
||||||
private:
|
private:
|
||||||
const std::string kModuleName = "SERVICE_ACCESS_CONTROL";
|
const std::string kModuleName = "SERVICE_ACCESS_CONTROL";
|
||||||
|
|
||||||
|
|
|
@ -73,7 +73,7 @@ const fnd::List<nn::hac::ServiceAccessControlEntry>& nn::hac::ServiceAccessContr
|
||||||
return mServices;
|
return mServices;
|
||||||
}
|
}
|
||||||
|
|
||||||
void nn::hac::ServiceAccessControl::addService(const ServiceAccessControlEntry& service)
|
void nn::hac::ServiceAccessControl::setServiceList(const fnd::List<ServiceAccessControlEntry>& list)
|
||||||
{
|
{
|
||||||
mServices.addElement(service);
|
mServices = list;
|
||||||
}
|
}
|
Loading…
Reference in a new issue