mirror of
https://github.com/jakcron/nstool
synced 2024-11-22 13:39:28 +00:00
[hac::ServiceAccessControl] replaced addService() with setServiceList().
This commit is contained in:
parent
e3e045ad0a
commit
687185ee14
2 changed files with 3 additions and 3 deletions
|
@ -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