Kodi Documentation 23.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
AnnouncementEvents.cpp File Reference
#include "AnnouncementEvents.h"
#include "FileItem.h"
#include "interfaces/AnnouncementManager.h"
#include "music/MusicDatabase.h"
#include "music/tags/MusicInfoTag.h"
#include "utils/StringUtils.h"
#include "utils/log.h"
#include "video/VideoDatabase.h"
#include "video/VideoFileItemClassify.h"
#include <type_traits>

Namespaces

namespace  ANNOUNCEMENT
 What an announcement says, as the sender knew it when it was raised.
 

Functions

bool ANNOUNCEMENT::IsTransaction (const LibraryEvent &event)
 Whether the event is part of a scan or clean, which announces its own end.
 
AnnouncementFlag ANNOUNCEMENT::FlagOf (const Announcement &announcement)
 
const char * ANNOUNCEMENT::MessageOf (const Announcement &announcement)
 
const std::string & ANNOUNCEMENT::SenderOf (const Announcement &announcement)
 Who announced it: the announcement manager, or for Other whoever sent it.
 
std::shared_ptr< const CFileItem > ANNOUNCEMENT::ItemOf (const Announcement &announcement)
 
Announcement ANNOUNCEMENT::WithLibraryDetails (Announcement announcement)
 The announcement with its item's library details loaded, when the item has no database id and the library knows it by its path.
 
Announcement ANNOUNCEMENT::WithItem (Announcement announcement, std::shared_ptr< const CFileItem > item)
 The announcement with its item replaced by item.