| 301 | |
| 302 | |
| 303 | Plugin* PluginListView::getCurrentPlugin() |
| 304 | { |
| 305 | LVITEM item; |
| 306 | item.mask = LVIF_PARAM; |
| 307 | item.iItem = getCurrentSelectedIndex(); |
| 308 | |
| 309 | if (item.iItem == -1) |
| 310 | return NULL; |
| 311 | |
| 312 | ::SendMessage(_hListView, LVM_GETITEM, 0, reinterpret_cast<LPARAM>(&item)); |
| 313 | return reinterpret_cast<Plugin*>(item.lParam); |
| 314 | } |
| 315 | |
| 316 | |
| 317 | std::shared_ptr< list<Plugin*> > PluginListView::getSelectedPlugins() |
nothing calls this directly
no outgoing calls
no test coverage detected