wip: no endpoint, role rework, visual ratio

This commit is contained in:
Hane 2024-08-14 17:02:57 +02:00
commit d4db24ed7d
12 changed files with 184 additions and 57 deletions

View file

@ -290,12 +290,22 @@ NGuid OverseerHandler::getGuid() {
return this->os->getGuid();
}
void OverseerHandler::setChangeFrontDefaultsFunction(std::function<void(Roles, std::wstring)> changeFrontDefaults){
this->changeFrontDefaults = changeFrontDefaults;
/*
* void OverseerHandler::setChangeFrontDefaultsFunction(std::function<void(Roles, std::wstring)> changeFrontDefaults){
* this->changeFrontDefaults = changeFrontDefaults;
* }
*
* void OverseerHandler::changeFrontDefaultsCallback(Roles role, std::wstring endpointId) {
* this->changeFrontDefaults(role, endpointId);
* }
*/
void OverseerHandler::roleBucketEntryCallback(Roles role, std::wstring endpointId){
this->roleBucketEntry(role, endpointId);
}
void OverseerHandler::changeFrontDefaultsCallback(Roles role, std::wstring endpointId) {
this->changeFrontDefaults(role, endpointId);
void OverseerHandler::setRoleBucketEntryFunction(std::function<void(Roles, std::wstring)> roleBucketEntry) {
this->roleBucketEntry = roleBucketEntry;
}
void OverseerHandler::updateFrontEndpointName(Endpoint* ep) {