wip: default callback
This commit is contained in:
parent
512a42f954
commit
7f05cc09f6
7 changed files with 230 additions and 15 deletions
|
|
@ -70,6 +70,10 @@ uint8_t EndpointHandler::getRoles(){
|
|||
return ep->getRoles();
|
||||
}
|
||||
|
||||
void EndpointHandler::setRoles(Roles newRole){
|
||||
ep->setRoles(newRole);
|
||||
}
|
||||
|
||||
EndpointHandler::~EndpointHandler() {
|
||||
ep->removeVolumeCallback(epc);
|
||||
epc->Release();
|
||||
|
|
@ -118,6 +122,10 @@ NGuid OverseerHandler::getGuid() {
|
|||
return this->os->getGuid();
|
||||
}
|
||||
|
||||
void setChangeFrontDefaultsFunction(std::function<void(Roles, wchar* endpointId)> changeFrontDefaults){
|
||||
this->changeFrontDefaults = changeFrontDefaults;
|
||||
}
|
||||
|
||||
void OverseerHandler::setEndpointHandlers(std::vector<EndpointHandler*> ephs){
|
||||
this->endpointHandlers = ephs;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue