diff options
author | Matti Lehtimäki <matti.lehtimaki@gmail.com> | 2013-09-28 11:59:52 +0200 |
---|---|---|
committer | Matti Lehtimäki <matti.lehtimaki@gmail.com> | 2013-09-28 11:59:52 +0200 |
commit | bb9e9422bbd0268d94fa9880bf8f2a159a685480 (patch) | |
tree | 63c0c17c63c6c4c0d33cb0c075d4e9f3485edacd | |
parent | c6c31d0d6dca95e07294ccb1d5827f91fb6776d8 (diff) | |
download | vdr-plugin-epgfixer-bb9e9422bbd0268d94fa9880bf8f2a159a685480.tar.gz vdr-plugin-epgfixer-bb9e9422bbd0268d94fa9880bf8f2a159a685480.tar.bz2 |
Fix header includes.
-rw-r--r-- | HISTORY | 1 | ||||
-rw-r--r-- | blacklist.h | 4 | ||||
-rw-r--r-- | charset.c | 1 | ||||
-rw-r--r-- | charset.h | 3 | ||||
-rw-r--r-- | config.c | 3 | ||||
-rw-r--r-- | config.h | 2 | ||||
-rw-r--r-- | epgclone.c | 2 | ||||
-rw-r--r-- | epgclone.h | 3 | ||||
-rw-r--r-- | epgfixer.c | 4 | ||||
-rw-r--r-- | epghandler.c | 4 | ||||
-rw-r--r-- | epghandler.h | 1 | ||||
-rw-r--r-- | regexp.c | 2 | ||||
-rw-r--r-- | regexp.h | 7 | ||||
-rw-r--r-- | setup_menu.c | 6 | ||||
-rw-r--r-- | setup_menu.h | 2 | ||||
-rw-r--r-- | tools.c | 5 | ||||
-rw-r--r-- | tools.h | 4 |
17 files changed, 38 insertions, 16 deletions
@@ -3,6 +3,7 @@ VDR Plugin 'epgfixer' Revision History 2013-xx-xx: Version x.x.x +- Fix header includes. - Makefile fixes. Install example config files automatically. - Fix crash in config editing menus if using color buttons when config is empty. - Fix SVDRP command REL (thanks to Ville Skyttä). diff --git a/blacklist.h b/blacklist.h index 1d60185..da82219 100644 --- a/blacklist.h +++ b/blacklist.h @@ -8,8 +8,10 @@ #ifndef __EPGFIXER_BLACKLIST_H_ #define __EPGFIXER_BLACKLIST_H_ +#include <vdr/channels.h> +#include <vdr/tools.h> + #include "tools.h" -#include <vdr/epg.h> class cBlacklist : public cListItem { @@ -5,6 +5,7 @@ * */ +#include <string.h> #include "charset.h" /* Global instance */ @@ -8,8 +8,9 @@ #ifndef __EPGFIXER_CHARSET_H_ #define __EPGFIXER_CHARSET_H_ -#include "tools.h" #include <vdr/epg.h> +#include <vdr/tools.h> +#include "tools.h" class cCharSet : public cListItem { @@ -5,8 +5,9 @@ * */ -#include "config.h" +#include <stdlib.h> #include <string.h> +#include "config.h" /* Global instance */ cEpgfixerSetup EpgfixerSetup; @@ -8,7 +8,7 @@ #ifndef __EPGFIXER_CONFIG_H_ #define __EPGFIXER_CONFIG_H_ -#include "regexp.h" +#include <vdr/tools.h> class cEpgfixerSetup { @@ -5,6 +5,8 @@ * */ +#include <stdlib.h> +#include <string.h> #include "epgclone.h" /* Global instance */ @@ -8,8 +8,9 @@ #ifndef __EPGFIXER_EPGCLONE_H_ #define __EPGFIXER_EPGCLONE_H_ -#include "tools.h" #include <vdr/epg.h> +#include <vdr/tools.h> +#include "tools.h" class cEpgClone : public cListItem { @@ -5,14 +5,16 @@ * */ +#include <getopt.h> +#include <stdlib.h> #include <vdr/plugin.h> #include <vdr/i18n.h> #include "blacklist.h" #include "charset.h" #include "epgclone.h" +#include "epghandler.h" #include "regexp.h" #include "setup_menu.h" -#include "epghandler.h" #if defined(APIVERSNUM) && APIVERSNUM < 10726 #error "VDR-1.7.26 API version or greater is required!" diff --git a/epghandler.c b/epghandler.c index da62dd5..b30ee1a 100644 --- a/epghandler.c +++ b/epghandler.c @@ -5,14 +5,14 @@ * */ +#include <string.h> +#include <vdr/tools.h> #include "epghandler.h" #include "blacklist.h" #include "charset.h" #include "config.h" #include "epgclone.h" #include "regexp.h" -#include <vdr/tools.h> -#include <string.h> // // Original VDR bug fixes adapted from epg.c of VDR diff --git a/epghandler.h b/epghandler.h index 2e03d25..cd5d51e 100644 --- a/epghandler.h +++ b/epghandler.h @@ -8,6 +8,7 @@ #ifndef __EPGFIXER_EPGHANDLER_H #define __EPGFIXER_EPGHANDLER_H +#include <vdr/channels.h> #include <vdr/epg.h> class cEpgfixerEpgHandler : public cEpgHandler @@ -5,6 +5,8 @@ * */ +#include <stdlib.h> +#include <string.h> #include "regexp.h" // for PCRE without JIT support @@ -8,13 +8,14 @@ #ifndef __EPGFIXER_REGEXP_H_ #define __EPGFIXER_REGEXP_H_ -#include "tools.h" -#include <vdr/epg.h> - #ifdef HAVE_PCREPOSIX #include <pcre.h> #endif +#include <vdr/epg.h> +#include <vdr/tools.h> +#include "tools.h" + typedef enum { REGEXP_TITLE, REGEXP_SHORTTEXT, REGEXP_DESCRIPTION, REGEXP_UNDEFINED } sources; class cRegexp : public cListItem diff --git a/setup_menu.c b/setup_menu.c index 59846d2..19f84a2 100644 --- a/setup_menu.c +++ b/setup_menu.c @@ -5,14 +5,18 @@ * */ -#include "setup_menu.h" +#include <stdio.h> #include <vdr/config.h> +#include <vdr/eit.h> #include <vdr/i18n.h> +#include <vdr/menu.h> +#include <vdr/skins.h> #include "blacklist.h" #include "charset.h" #include "epgclone.h" #include "regexp.h" #include "tools.h" +#include "setup_menu.h" //--- cMenuSetupConfigEditor ------------------------------------------------------ diff --git a/setup_menu.h b/setup_menu.h index 6eef26f..c9f7332 100644 --- a/setup_menu.h +++ b/setup_menu.h @@ -8,8 +8,8 @@ #ifndef __EPGFIXER_SETUP_MENU_H #define __EPGFIXER_SETUP_MENU_H -#include <vdr/menu.h> #include <vdr/menuitems.h> +#include <vdr/tools.h> #include "config.h" class cMenuSetupEpgfixer : public cMenuSetupPage @@ -5,9 +5,12 @@ * */ -#include "tools.h" +#include <stdlib.h> +#include <string.h> #include <vdr/thread.h> +#include "tools.h" + // // HTML conversion code taken from RSS Reader plugin for VDR // http://www.saunalahti.fi/~rahrenbe/vdr/rssreader/ @@ -8,10 +8,10 @@ #ifndef __EPGFIXER_TOOLS_H_ #define __EPGFIXER_TOOLS_H_ +#include <stdio.h> +#include <unistd.h> #include <vdr/epg.h> #include <vdr/tools.h> -#include <unistd.h> -#include <stdio.h> #define error(x...) esyslog("EPGFixer: " x); |