Skip to content

Commit

Permalink
[PVR] Remove unused method CPVRTimerInfoTag::QueueNotification.
Browse files Browse the repository at this point in the history
  • Loading branch information
ksooo committed Nov 13, 2015
1 parent f426d7e commit 39d6954
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 17 deletions.
12 changes: 0 additions & 12 deletions xbmc/pvr/timers/PVRTimerInfoTag.cpp
Expand Up @@ -857,18 +857,6 @@ std::string CPVRTimerInfoTag::GetDeletedNotificationText() const
return StringUtils::Format("%s: '%s'", g_localizeStrings.Get(stringID).c_str(), m_strTitle.c_str());
}

void CPVRTimerInfoTag::QueueNotification(void) const
{
if (CSettings::GetInstance().GetBool(CSettings::SETTING_PVRRECORD_TIMERNOTIFICATIONS))
{
std::string strMessage;
GetNotificationText(strMessage);

if (!strMessage.empty())
CGUIDialogKaiToast::QueueNotification(CGUIDialogKaiToast::Info, g_localizeStrings.Get(19166), strMessage);
}
}

CEpgInfoTagPtr CPVRTimerInfoTag::GetEpgInfoTag(void) const
{
return m_epgTag;
Expand Down
5 changes: 0 additions & 5 deletions xbmc/pvr/timers/PVRTimerInfoTag.h
Expand Up @@ -180,11 +180,6 @@ namespace PVR
unsigned int MarginEnd(void) const { return m_iMarginEnd; }
void SetMarginEnd(unsigned int iMinutes) { m_iMarginEnd = iMinutes; }

/*!
* @brief Show a notification for this timer in the UI
*/
void QueueNotification(void) const;

/*!
* @brief Get the text for the notification.
* @param strText The notification.
Expand Down

0 comments on commit 39d6954

Please sign in to comment.