Skip to content

Commit

Permalink
[PVR] API: Add menu visibility controls for timers
Browse files Browse the repository at this point in the history
Add flags which can be used to prevent timer types:
1) needing an EPG Tag from appearing in 'Add...' menu
2) not related to EPG Tags appearing in 'Add Custom Timer' list
  • Loading branch information
metaron-uk committed Aug 20, 2015
1 parent 6ded65f commit 130bc09
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions xbmc/addons/include/xbmc_pvr_types.h
Expand Up @@ -130,6 +130,8 @@ extern "C" {
const unsigned int PVR_TIMER_TYPE_SUPPORTS_START_ANYTIME = 0x00040000; /*!< @brief enables an 'Any Time' over-ride option for startTime (using PVR_TIMER.bStartAnyTime) */
const unsigned int PVR_TIMER_TYPE_SUPPORTS_END_ANYTIME = 0x00080000; /*!< @brief enables a separate 'Any Time' over-ride for endTime (using PVR_TIMER.bEndAnyTime) */
const unsigned int PVR_TIMER_TYPE_SUPPORTS_MAX_RECORDINGS = 0x00100000; /*!< @brief this type supports specifying a maximum recordings setting' (PVR_TIMER.iMaxRecordings) */
const unsigned int PVR_TIMER_TYPE_REQUIRES_EPG_TAG_ON_CREATE = 0x00200000; /*!< @brief this type shold not appear on any create menus which don't provide an associated EPG tag */
const unsigned int PVR_TIMER_TYPE_FORBIDS_EPG_TAG_ON_CREATE = 0x00400000; /*!< @brief this type should not appear on any create menus which provide an associated EPG tag */

/*!
* @brief PVR timer weekdays (PVR_TIMER.iWeekdays values)
Expand Down

0 comments on commit 130bc09

Please sign in to comment.