diff options
| author | manuel <manuel@mausz.at> | 2021-03-04 23:36:40 +0100 |
|---|---|---|
| committer | manuel <manuel@mausz.at> | 2021-03-04 23:36:40 +0100 |
| commit | 3cb8aa05f8cee9e860cf83531682ff0ed4af6a4f (patch) | |
| tree | 921f4829b32126f80f9113c124f2e14c0ebce8d9 /xbmc/addons/kodi-dev-kit/include/kodi/gui/Window.h | |
| parent | be933ef2241d79558f91796cc5b3a161f72ebf9c (diff) | |
| download | kodi-pvr-build-3cb8aa05f8cee9e860cf83531682ff0ed4af6a4f.tar.gz kodi-pvr-build-3cb8aa05f8cee9e860cf83531682ff0ed4af6a4f.tar.bz2 kodi-pvr-build-3cb8aa05f8cee9e860cf83531682ff0ed4af6a4f.zip | |
sync with upstreamMatrix
Diffstat (limited to 'xbmc/addons/kodi-dev-kit/include/kodi/gui/Window.h')
| -rw-r--r-- | xbmc/addons/kodi-dev-kit/include/kodi/gui/Window.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xbmc/addons/kodi-dev-kit/include/kodi/gui/Window.h b/xbmc/addons/kodi-dev-kit/include/kodi/gui/Window.h index 3066b3c..10fa6ef 100644 --- a/xbmc/addons/kodi-dev-kit/include/kodi/gui/Window.h +++ b/xbmc/addons/kodi-dev-kit/include/kodi/gui/Window.h | |||
| @@ -451,7 +451,7 @@ public: | |||
| 451 | /// @param[in] item List item to add | 451 | /// @param[in] item List item to add |
| 452 | /// @param[in] itemPosition [opt] The position for item, default is on end | 452 | /// @param[in] itemPosition [opt] The position for item, default is on end |
| 453 | /// | 453 | /// |
| 454 | void AddListItem(std::shared_ptr<CListItem> item, int itemPosition = -1) | 454 | void AddListItem(const std::shared_ptr<CListItem>& item, int itemPosition = -1) |
| 455 | { | 455 | { |
| 456 | m_interface->kodi_gui->window->add_list_item(m_interface->kodiBase, m_controlHandle, | 456 | m_interface->kodi_gui->window->add_list_item(m_interface->kodiBase, m_controlHandle, |
| 457 | item->m_controlHandle, itemPosition); | 457 | item->m_controlHandle, itemPosition); |
| @@ -465,7 +465,7 @@ public: | |||
| 465 | /// @param[in] item List item to add | 465 | /// @param[in] item List item to add |
| 466 | /// @param[in] itemPosition [opt] The position for item, default is on end | 466 | /// @param[in] itemPosition [opt] The position for item, default is on end |
| 467 | /// | 467 | /// |
| 468 | void AddListItem(const std::string item, int itemPosition = -1) | 468 | void AddListItem(const std::string& item, int itemPosition = -1) |
| 469 | { | 469 | { |
| 470 | m_interface->kodi_gui->window->add_list_item( | 470 | m_interface->kodi_gui->window->add_list_item( |
| 471 | m_interface->kodiBase, m_controlHandle, | 471 | m_interface->kodiBase, m_controlHandle, |
| @@ -492,7 +492,7 @@ public: | |||
| 492 | /// | 492 | /// |
| 493 | /// @param[in] item List item control class to remove | 493 | /// @param[in] item List item control class to remove |
| 494 | /// | 494 | /// |
| 495 | void RemoveListItem(std::shared_ptr<CListItem> item) | 495 | void RemoveListItem(const std::shared_ptr<CListItem>& item) |
| 496 | { | 496 | { |
| 497 | m_interface->kodi_gui->window->remove_list_item(m_interface->kodiBase, m_controlHandle, | 497 | m_interface->kodi_gui->window->remove_list_item(m_interface->kodiBase, m_controlHandle, |
| 498 | item->m_controlHandle); | 498 | item->m_controlHandle); |
