|
Kodi Documentation 23.0
Kodi is an open source media player and entertainment hub.
|
#include <memory>Namespaces | |
| namespace | KODI |
| namespace | KODI::MESSAGING |
Functions | |
| template<typename T > | |
| void * | KODI::MESSAGING::TransferToMessenger (std::unique_ptr< T > payload) |
| Hand a payload to the messenger. The message's handler frees it once it has run, whether the message was sent or posted. | |
| template<typename T > | |
| void * | KODI::MESSAGING::LendToMessenger (T &payload) |
| Lend a payload to a synchronous message. The caller keeps it, so only SendMsg may carry it. | |