| 290 | } |
| 291 | |
| 292 | unsigned PluginDataModel::GetChildren(const wxDataViewItem& item, wxDataViewItemArray& children) const |
| 293 | { |
| 294 | children.clear(); |
| 295 | if(item.GetID() != RowIdRoot) |
| 296 | return 0; |
| 297 | |
| 298 | children.reserve(mIndexFilterMap.size()); |
| 299 | for(const auto index : mIndexFilterMap) |
| 300 | children.push_back(wxDataViewItem(index)); |
| 301 | |
| 302 | return children.size(); |
| 303 | } |
| 304 | |
| 305 | PluginDescriptor* PluginDataModel::GetPlugin(wxDataViewItem item) |
| 306 | { |
no test coverage detected