/usr/include/xbmc/xbmc_epg_types.h is in xbmc-addons-dev 2:13.2+dfsg1-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 | #pragma once
/*
* Copyright (C) 2005-2013 Team XBMC
* http://xbmc.org
*
* This Program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This Program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with XBMC; see the file COPYING. If not, see
* <http://www.gnu.org/licenses/>.
*
*/
#include <string.h>
#include <time.h>
#undef ATTRIBUTE_PACKED
#undef PRAGMA_PACK_BEGIN
#undef PRAGMA_PACK_END
#if defined(__GNUC__)
#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
#define ATTRIBUTE_PACKED __attribute__ ((packed))
#define PRAGMA_PACK 0
#endif
#endif
#if !defined(ATTRIBUTE_PACKED)
#define ATTRIBUTE_PACKED
#define PRAGMA_PACK 1
#endif
/*! @name EPG entry content event types */
//@{
/* These IDs come from the DVB-SI EIT table "content descriptor"
* Also known under the name "E-book genre assignments"
*/
#define EPG_EVENT_CONTENTMASK_UNDEFINED 0x00
#define EPG_EVENT_CONTENTMASK_MOVIEDRAMA 0x10
#define EPG_EVENT_CONTENTMASK_NEWSCURRENTAFFAIRS 0x20
#define EPG_EVENT_CONTENTMASK_SHOW 0x30
#define EPG_EVENT_CONTENTMASK_SPORTS 0x40
#define EPG_EVENT_CONTENTMASK_CHILDRENYOUTH 0x50
#define EPG_EVENT_CONTENTMASK_MUSICBALLETDANCE 0x60
#define EPG_EVENT_CONTENTMASK_ARTSCULTURE 0x70
#define EPG_EVENT_CONTENTMASK_SOCIALPOLITICALECONOMICS 0x80
#define EPG_EVENT_CONTENTMASK_EDUCATIONALSCIENCE 0x90
#define EPG_EVENT_CONTENTMASK_LEISUREHOBBIES 0xA0
#define EPG_EVENT_CONTENTMASK_SPECIAL 0xB0
#define EPG_EVENT_CONTENTMASK_USERDEFINED 0xF0
//@}
/* Set EPGTAG.iGenreType to EPG_GENRE_USE_STRING to transfer genre strings to XBMC */
#define EPG_GENRE_USE_STRING 0x100
#ifdef __cplusplus
extern "C" {
#endif
/*!
* @brief Representation of an EPG event.
*/
typedef struct EPG_TAG {
unsigned int iUniqueBroadcastId; /*!< @brief (required) identifier for this event */
const char * strTitle; /*!< @brief (required) this event's title */
unsigned int iChannelNumber; /*!< @brief (required) the number of the channel this event occurs on */
time_t startTime; /*!< @brief (required) start time in UTC */
time_t endTime; /*!< @brief (required) end time in UTC */
const char * strPlotOutline; /*!< @brief (optional) plot outline */
const char * strPlot; /*!< @brief (optional) plot */
const char * strIconPath; /*!< @brief (optional) icon path */
int iGenreType; /*!< @brief (optional) genre type */
int iGenreSubType; /*!< @brief (optional) genre sub type */
const char * strGenreDescription; /*!< @brief (optional) genre. Will be used only when iGenreType = EPG_GENRE_USE_STRING */
time_t firstAired; /*!< @brief (optional) first aired in UTC */
int iParentalRating; /*!< @brief (optional) parental rating */
int iStarRating; /*!< @brief (optional) star rating */
bool bNotify; /*!< @brief (optional) notify the user when this event starts */
int iSeriesNumber; /*!< @brief (optional) series number */
int iEpisodeNumber; /*!< @brief (optional) episode number */
int iEpisodePartNumber; /*!< @brief (optional) episode part number */
const char * strEpisodeName; /*!< @brief (optional) episode name */
} ATTRIBUTE_PACKED EPG_TAG;
#ifdef __cplusplus
}
#endif
|