| 2672 | } |
| 2673 | |
| 2674 | Drawable* LLMChatUI::findIcon( const std::string& name, const size_t iconSize ) { |
| 2675 | if ( name.empty() ) |
| 2676 | return nullptr; |
| 2677 | UIIcon* icon = getUISceneNode()->findIcon( name ); |
| 2678 | if ( icon ) |
| 2679 | return icon->getSize( iconSize ); |
| 2680 | return nullptr; |
| 2681 | } |
| 2682 | |
| 2683 | void LLMChatUI::addPermissionUI( const acp::RequestPermissionRequest& req, |
| 2684 | std::function<void( const acp::RequestPermissionResponse& )> cb ) { |
no test coverage detected