⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 epg.cpp

📁 drm 支程式編寫 for radio
💻 CPP
📖 第 1 页 / 共 4 页
字号:
/******************************************************************************\
 * British Broadcasting Corporation
 * Copyright (c) 2006
 *
 * Author(s):
 *	Julian Cable
 *
 * Description:
 *	ETSI DAB/DRM Electronic Programme Guide class
 *
 *
 ******************************************************************************
 *
 * 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 of the License, 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
 * this program; if not, write to the Free Software Foundation, Inc., 
 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 *
\******************************************************************************/

#include "EPG.h"
#include "epgutil.h"
#include <qfile.h>
#include <qtextstream.h>
#include <qregexp.h>
#include <iostream>

const EPG::gl EPG::genre_list[] =
	{
	{ "1", "Audio-Video" },
	{ "1.0", "Proprietary" },
	{ "1.1", "PlayRecording" },
	{ "1.1.1", "Pure entertainment" },
	{ "1.1.2", "Informative entertainment" },
	{ "1.10", "Mute" },
	{ "1.11", "VolumeUp" },
	{ "1.12", "VolumeDown" },
	{ "1.13", "Loop/Repeat" },
	{ "1.14", "Shuffle" },
	{ "1.15", "SkipToStart" },
	{ "1.16", "SkipToEnd" },
	{ "1.17", "CopyCD" },
	{ "1.2", "PlayStream" },
	{ "1.2.1", "Government" },
	{ "1.2.2", "Pure information" },
	{ "1.2.3", "Infotainment" },
	{ "1.2.4", "Advice" },
	{ "1.3", "Record" },
	{ "1.3.1", "School Programmes" },
	{ "1.3.1.1", "Primary" },
	{ "1.3.1.2", "Secondary" },
	{ "1.3.1.3", "Tertiary" },
	{ "1.3.2", "Lifelong/further education" },
	{ "1.4", "Preview" },
	{ "1.5", "Pause" },
	{ "1.6", "FastForward" },
	{ "1.6.1", "Gambling" },
	{ "1.6.2", "Home Shopping" },
	{ "1.7", "Rewind" },
	{ "1.7.1", "Fund Raising" },
	{ "1.7.2", "Social Action" },
	{ "1.8", "SkipForward" },
	{ "1.8.1", "General enrichment" },
	{ "1.8.2", "Inspirational enrichment" },
	{ "1.9", "SkipBackward" },
	{ "1.9.1", "Very Easy" },
	{ "1.9.2", "Easy" },
	{ "1.9.3", "Medium" },
	{ "1.9.4", "Difficult" },
	{ "1.9.5", "Very Difficult" },
	{ "10", "For more information" },
	{ "11", "Programme review information" },
	{ "12", "Recap" },
	{ "13", "The making of" },
	{ "14", "Support" },
	{ "15", "Segmentation" },
	{ "16", "Derived" },
	{ "17", "TVA RMPI document" },
	{ "18", "Content Package" },
	{ "2", "Video " },
	{ "2.0", "Proprietary" },
	{ "2.1", "Zoom" },
	{ "2.1.1 ", "Bulletin" },
	{ "2.1.2", "Magazine" },
	{ "2.1.2.1", "Presenter led magazine" },
	{ "2.1.2.2", "Clip led magazine" },
	{ "2.1.3", "Event" },
	{ "2.1.3.1", "Commented event" },
	{ "2.1.3.2", "Uncommented event" },
	{ "2.1.4", "Documentary" },
	{ "2.1.5", "Discussion/Interview/Debate/Talkshow" },
	{ "2.1.6", "Lecture/Speech/Presentation" },
	{ "2.1.7", "Textual (incl. relayed teletext)" },
	{ "2.1.8", "Phone-in" },
	{ "2.1.9", "DJ with discs" },
	{ "2.2", "SlowMotion" },
	{ "2.2.1", "Fictional portrayal of life" },
	{ "2.2.2", "Readings" },
	{ "2.2.3", "Dramatic documentary" },
	{ "2.3", "CCOn" },
	{ "2.3.1", "Anime" },
	{ "2.3.2", "Computer" },
	{ "2.3.3", "Cartoon" },
	{ "2.3.4", "Puppetry" },
	{ "2.3.4.1", "Real time puppetry" },
	{ "2.3.4.2", "Physical model animation" },
	{ "2.4", "StepForward" },
	{ "2.4.1", "Hosted show" },
	{ "2.4.1.1", "Simple game show" },
	{ "2.4.1.2", "Big game show" },
	{ "2.4.2", "Panel-show" },
	{ "2.4.2.1", "Simple game show" },
	{ "2.4.2.2", "Big game show" },
	{ "2.4.3", "Non-hosted show" },
	{ "2.4.4", "Standup comedian(s)" },
	{ "2.4.5", "Reality Show" },
	{ "2.4.5.1", "Observational show" },
	{ "2.4.5.2", "Controlled show" },
	{ "2.5", "StepBackward" },
	{ "2.5.1", "Solo performance" },
	{ "2.5.2", "Small ensemble performance" },
	{ "2.5.3", "Large ensemble performance" },
	{ "2.5.4", "Mixed" },
	{ "2.6", "void" },
	{ "2.7", "INTERACTIVE" },
	{ "2.7.1", "LOCAL INTERACTIVITY" },
	{ "2.7.1.1", "Static informational" },
	{ "2.7.1.10", "Elimination and timer" },
	{ "2.7.1.11", "Categories" },
	{ "2.7.1.12", "Level based quiz/game" },
	{ "2.7.1.13", "Following a sequence" },
	{ "2.7.1.14", "Local multi player" },
	{ "2.7.1.15", "Multi stream audio-video" },
	{ "2.7.1.16", "Enhanced advertisement" },
	{ "2.7.1.17", "Logic based games" },
	{ "2.7.1.18", "Word games" },
	{ "2.7.1.19", "Positional games" },
	{ "2.7.1.2", "Dynamic informational" },
	{ "2.7.1.20", "Board games" },
	{ "2.7.1.21", "Text based gaming" },
	{ "2.7.1.22", "Dynamic 2D/3D graphics" },
	{ "2.7.1.3", "Viewing chats" },
	{ "2.7.1.4", "Quiz - Basic multiple choice" },
	{ "2.7.1.5", "Quiz - Text or number entry answers" },
	{ "2.7.1.6", "Re-ordering" },
	{ "2.7.1.7", "Positional" },
	{ "2.7.1.8", "Sync quiz" },
	{ "2.7.1.9", "Timer quiz" },
	{ "2.7.2", "INTERMITTENT RESPONSE" },
	{ "2.7.2.1", "Single impulse vote" },
	{ "2.7.2.10", "Multi player TS networked services/games" },
	{ "2.7.2.11", "Interactive advertisement" },
	{ "2.7.2.2", "Impulse vote from choices" },
	{ "2.7.2.3", "Impulse Yes/No vote" },
	{ "2.7.2.4", "Impulse vote with a value" },
	{ "2.7.2.5", "Submit answers/form" },
	{ "2.7.2.6", "SMS using mobile" },
	{ "2.7.2.7", "SMS using TV remote" },
	{ "2.7.2.8", "Impulse gambling" },
	{ "2.7.2.9", "Impulse transaction" },
	{ "2.7.3", "ALWAYS ON CONNECTION" },
	{ "2.7.3.1", "Chat Forum" },
	{ "2.7.3.10", "Impulse transaction" },
	{ "2.7.3.11", "Non-linear audio-video" },
	{ "2.7.3.2", "Chat Forum via web" },
	{ "2.7.3.3", "Threaded mail discussions" },
	{ "2.7.3.4", "Point to point" },
	{ "2.7.3.5", "3rd party point to point" },
	{ "2.7.3.6", "Voice chat using mic capability" },
	{ "2.7.3.7", "Dual player networked services/games" },
	{ "2.7.3.8", "Multi player RT networked services/games" },
	{ "2.7.3.9", "Gambling services" },
	{ "3", "Data" },
	{ "3.0", "Proprietary" },
	{ "3.1", "ClickThrough" },
	{ "3.1.1", "News" },
	{ "3.1.1.1", "Daily news" },
	{ "3.1.1.10", "Cultural" },
	{ "3.1.1.10.1", "Arts" },
	{ "3.1.1.10.2", "Entertainment" },
	{ "3.1.1.10.3", "Film" },
	{ "3.1.1.10.4", "Music" },
	{ "3.1.1.10.5", "Radio" },
	{ "3.1.1.10.6", "TV" },
	{ "3.1.1.11", "Local/Regional" },
	{ "3.1.1.12", "Traffic" },
	{ "3.1.1.13", "Weather forecasts" },
	{ "3.1.1.14", "Service information" },
	{ "3.1.1.15", "Public affairs" },
	{ "3.1.1.16", "Current affairs" },
	{ "3.1.1.17", "Consumer affairs" },
	{ "3.1.1.2", "Special news/edition" },
	{ "3.1.1.3", "Special Report" },
	{ "3.1.1.4", "Commentary" },
	{ "3.1.1.5", "Periodical/General" },
	{ "3.1.1.6", "National politics/National assembly" },
	{ "3.1.1.7", "Economy/Market/Financial/Business" },
	{ "3.1.1.8", "Foreign/International" },
	{ "3.1.1.9", "Sports" },
	{ "3.1.10", "Media" },
	{ "3.1.10.1", "Advertising" },
	{ "3.1.10.2", "Print media" },
	{ "3.1.10.3", "Television" },
	{ "3.1.10.4", "Radio" },
	{ "3.1.10.5", "New media" },
	{ "3.1.10.6", "Marketing" },
	{ "3.1.11", "Listings" },
	{ "3.1.2", "Religion/Philosophies" },
	{ "3.1.2.1", "Religion" },
	{ "3.1.2.1.1", "Buddhism" },
	{ "3.1.2.1.10", "Confucianism" },
	{ "3.1.2.1.11", "Jainism" },
	{ "3.1.2.1.12", "Sikhism" },
	{ "3.1.2.1.13", "Taoism" },
	{ "3.1.2.1.14", "Vodun (Voodoo)" },
	{ "3.1.2.1.15", "Asatru (Nordic Paganism)" },
	{ "3.1.2.1.16", "Drudism" },
	{ "3.1.2.1.17", "Goddess worship" },
	{ "3.1.2.1.18", "Wicca" },
	{ "3.1.2.1.19", "Witchcraft" },
	{ "3.1.2.1.2", "Hinduism" },
	{ "3.1.2.1.20", "Caodaism" },
	{ "3.1.2.1.21", "Damanhur Community" },
	{ "3.1.2.1.22", "Druse (Mowahhidoon)" },
	{ "3.1.2.1.23", "Eckankar" },
	{ "3.1.2.1.24", "Gnosticism" },
	{ "3.1.2.1.25", "Rroma (Gypsies)" },
	{ "3.1.2.1.26", "Hare Krishna and ISKCON" },
	{ "3.1.2.1.27", "Lukumi (Santeria)" },
	{ "3.1.2.1.28", "Macumba" },
	{ "3.1.2.1.29", "Native American spirituality" },
	{ "3.1.2.1.3", "Christianity" },
	{ "3.1.2.1.30", "New Age" },
	{ "3.1.2.1.31", "Osho" },
	{ "3.1.2.1.32", "Satanism" },
	{ "3.1.2.1.33", "Scientology" },
	{ "3.1.2.1.34", "Thelema" },
	{ "3.1.2.1.35", "Unitarian-Universalism" },
	{ "3.1.2.1.36", "The Creativity Movement" },
	{ "3.1.2.1.37", "Zoroastrianism" },
	{ "3.1.2.1.38", "Quakerism" },
	{ "3.1.2.1.39", "Rastafarianism" },
	{ "3.1.2.1.4", "Islam" },
	{ "3.1.2.1.5", "Judaism" },
	{ "3.1.2.1.6", "Atheism" },
	{ "3.1.2.1.7", "Agnosticism" },
	{ "3.1.2.1.8", "Shintoism" },
	{ "3.1.2.1.9", "Baha'i" },
	{ "3.1.2.2", "Non-religious philosophies" },
	{ "3.1.2.2.1", "Communism" },
	{ "3.1.2.2.10", "Universism" },
	{ "3.1.2.2.11", "Atheism" },
	{ "3.1.2.2.12", "Agnosticism" },
	{ "3.1.2.2.2", "Humanism" },
	{ "3.1.2.2.3", "Capitalism" },
	{ "3.1.2.2.4", "Socialism" },
	{ "3.1.2.2.5", "Libertarianism" },
	{ "3.1.2.2.6", "Republicanism" },
	{ "3.1.2.2.7", "Deism" },
	{ "3.1.2.2.8", "Falun Gong and Falun Dafa" },
	{ "3.1.2.2.9", "Objectivism" },
	{ "3.1.3", "General non-fiction" },
	{ "3.1.3.1", "Political" },
	{ "3.1.3.1.1", "Capitalism" },
	{ "3.1.3.1.2", "Fascism" },
	{ "3.1.3.1.3", "Republicanism" },
	{ "3.1.3.1.4", "Socialism" },
	{ "3.1.3.10", "Agriculture" },
	{ "3.1.3.11", "Construction / Civil Engineering" },
	{ "3.1.3.2", "Social" },
	{ "3.1.3.3", "Economic" },
	{ "3.1.3.4", "Legal" },
	{ "3.1.3.5", "Finance" },
	{ "3.1.3.6", "Education" },
	{ "3.1.3.6.1", "Pre-School" },
	{ "3.1.3.6.10", "Religious schools" },
	{ "3.1.3.6.11", "Student organisations" },
	{ "3.1.3.6.12", "Testing" },
	{ "3.1.3.6.13", "Theory and methods" },
	{ "3.1.3.6.14", "Interdisciplinary studies" },
	{ "3.1.3.6.2", "Primary" },
	{ "3.1.3.6.3", "Secondary" },
	{ "3.1.3.6.4", "Colleges and Universities" },
	{ "3.1.3.6.5", "Adult education" },
	{ "3.1.3.6.6", "Non-formal education" },
	{ "3.1.3.6.7", "Homework" },
	{ "3.1.3.6.8", "Reading groups" },
	{ "3.1.3.6.9", "Distance learning" },
	{ "3.1.3.7", "International affairs" },
	{ "3.1.3.8", "Military/Defence" },
	{ "3.1.3.9", "Industry/Manufacturing" },
	{ "3.1.4", "Arts" },
	{ "3.1.4.1", "Music" },
	{ "3.1.4.10", "Experimental arts" },
	{ "3.1.4.11", "Architecture" },
	{ "3.1.4.12", "Showbiz" },
	{ "3.1.4.13", "Television" },
	{ "3.1.4.14", "Radio" },
	{ "3.1.4.15", "New media" },
	{ "3.1.4.2", "Dance" },
	{ "3.1.4.3", "Theatre" },
	{ "3.1.4.4", "Opera" },
	{ "3.1.4.5", "Cinema" },
	{ "3.1.4.6", "Poetry" },
	{ "3.1.4.7", "Press" },
	{ "3.1.4.8", "Plastic arts" },
	{ "3.1.4.9", "Fine arts" },
	{ "3.1.5", "Humanities" },
	{ "3.1.5.1", "Literature" },
	{ "3.1.5.2", "Languages" },
	{ "3.1.5.3", "History" },
	{ "3.1.5.4", "Culture/Tradition/Anthropology/Ethnic studies" },
	{ "3.1.5.5", "War/Conflict" },
	{ "3.1.5.6", "Philosophy" },
	{ "3.1.5.7", "Political Science" },
	{ "3.1.6", "Sciences" },
	{ "3.1.6.1", "Applied sciences" },
	{ "3.1.6.10", "Psychology" },
	{ "3.1.6.11", "Social" },
	{ "3.1.6.12", "Spiritual" },
	{ "3.1.6.13", "Mathematics" },
	{ "3.1.6.14", "Archaeology" },
	{ "3.1.6.15", "Statistics" },
	{ "3.1.6.16", "Liberal Arts and Science" },
	{ "3.1.6.2", "Nature/Natural sciences" },
	{ "3.1.6.2.1", "Biology" },
	{ "3.1.6.2.2", "Geology" },
	{ "3.1.6.2.3", "Botany" },
	{ "3.1.6.2.4", "Zoology" },
	{ "3.1.6.3", "Animals/Wildlife" },
	{ "3.1.6.4", "Environment/Geography" },
	{ "3.1.6.5", "Space/Universe" },
	{ "3.1.6.6", "Physical sciences" },
	{ "3.1.6.6.1", "Physics" },
	{ "3.1.6.6.2", "Chemistry" },
	{ "3.1.6.6.3", "Mechanics" },
	{ "3.1.6.6.4", "Engineering" },
	{ "3.1.6.7", "Medicine" },
	{ "3.1.6.7.1", "Alternative Medicine" },
	{ "3.1.6.8", "Technology" },
	{ "3.1.6.9", "Physiology" },
	{ "3.1.7", "Human interest" },
	{ "3.1.7.1", "Reality" },
	{ "3.1.7.10", "libraries" },
	{ "3.1.7.2", "Society/Show business/Gossip" },
	{ "3.1.7.3", "Biography/Notable personalities" },
	{ "3.1.7.4", "Personal problems" },
	{ "3.1.7.5", "Investigative journalism" },
	{ "3.1.7.6", "Museums" },
	{ "3.1.7.7", "Religious buildings" },
	{ "3.1.7.8", "Personal stories" },
	{ "3.1.7.9", "Family life" },
	{ "3.1.8", "Transport and Communications" },
	{ "3.1.8.1", "Air" },
	{ "3.1.8.2", "Land" },
	{ "3.1.8.3", "Sea" },
	{ "3.1.8.4", "Space" },
	{ "3.1.9", "Events" },
	{ "3.1.9.1", "Anniversary" },
	{ "3.1.9.10", "Local/Regional" },
	{ "3.1.9.11", "Seasonal" },
	{ "3.1.9.12", "Sporting" },
	{ "3.1.9.13", "Festival" },
	{ "3.1.9.14", "Concert" },
	{ "3.1.9.15", "Funeral/Memorial" },
	{ "3.1.9.2", "Fair" },
	{ "3.1.9.3", "Tradeshow" },
	{ "3.1.9.4", "Musical" },
	{ "3.1.9.5", "Exhibition" },
	{ "3.1.9.6", "Royal" },
	{ "3.1.9.7", "State" },
	{ "3.1.9.8", "International" },
	{ "3.1.9.9", "National" },
	{ "3.10", "Archive" },
	{ "3.2", "ScrollUp" },
	{ "3.2.1", "Athletics" },
	{ "3.2.1.1", "Field" },
	{ "3.2.1.2", "Track" },
	{ "3.2.1.3", "Combined athletics" },
	{ "3.2.1.4", "Running" },
	{ "3.2.1.5", "Cross-country" },
	{ "3.2.1.6", "Triathlon" },
	{ "3.2.10", "Gymnastics" },
	{ "3.2.10.1", "Asymmetric bars" },
	{ "3.2.10.2", "Beam" },
	{ "3.2.10.3", "Horse" },
	{ "3.2.10.4", "Mat" },
	{ "3.2.10.5", "Parallel bars" },
	{ "3.2.10.6", "Rings" },
	{ "3.2.10.7", "Trampoline" },
	{ "3.2.11", "Equestrian" },
	{ "3.2.11.1", "Cart" },
	{ "3.2.11.2", "Dressage" },
	{ "3.2.11.3", "Horse racing" },
	{ "3.2.11.4", "Polo" },
	{ "3.2.11.5", "Jumping" },
	{ "3.2.11.6", "Crossing" },

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -