mirror of
https://github.com/jakcron/nstool.git
synced 2024-12-22 18:55:29 +00:00
[hac::ServiceAccessControl] replaced addService() with setServiceList().
This commit is contained in:
parent
e3e045ad0a
commit
687185ee14
|
@ -28,7 +28,7 @@ namespace hac
|
|||
// variables
|
||||
void clear();
|
||||
const fnd::List<ServiceAccessControlEntry>& getServiceList() const;
|
||||
void addService(const ServiceAccessControlEntry& service);
|
||||
void setServiceList(const fnd::List<ServiceAccessControlEntry>& list);
|
||||
private:
|
||||
const std::string kModuleName = "SERVICE_ACCESS_CONTROL";
|
||||
|
||||
|
|
|
@ -73,7 +73,7 @@ const fnd::List<nn::hac::ServiceAccessControlEntry>& nn::hac::ServiceAccessContr
|
|||
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