diff options
| author | Lars Hanisch <dvb@flensrocker.de> | 2011-02-12 22:11:13 +0100 |
|---|---|---|
| committer | Lars Hanisch <dvb@flensrocker.de> | 2011-02-12 22:11:13 +0100 |
| commit | 7ed2883604e3e7e910e043a69a2ab91e890dc638 (patch) | |
| tree | c6fc031c5cbba7f1380d48f4fb8839237d60c148 | |
| parent | 3fba3b329920a80febd6b6377ecfd316883f4638 (diff) | |
| download | vdr-plugin-pvrinput-7ed2883604e3e7e910e043a69a2ab91e890dc638.tar.gz vdr-plugin-pvrinput-7ed2883604e3e7e910e043a69a2ab91e890dc638.tar.bz2 | |
remove videodev.h and other unneeded headers
| -rw-r--r-- | common.h | 17 | ||||
| -rwxr-xr-x | device.c | 1 | ||||
| -rwxr-xr-x | device.h | 2 | ||||
| -rw-r--r-- | filter.h | 3 | ||||
| -rw-r--r-- | menu.c | 4 | ||||
| -rw-r--r-- | menu.h | 2 | ||||
| -rw-r--r-- | pvrinput.h | 2 | ||||
| -rw-r--r-- | reader.h | 2 | ||||
| -rw-r--r-- | setup.h | 2 | ||||
| -rw-r--r-- | sourceparams.h | 2 | ||||
| -rw-r--r-- | submenu.c | 2 | ||||
| -rw-r--r-- | submenu.h | 3 |
12 files changed, 2 insertions, 40 deletions
@@ -3,32 +3,16 @@ enum eLogLevel { pvrUNUSED, pvrERROR, pvrINFO, pvrDEBUG1, pvrDEBUG2, pvrDEBUG3 }; -#include <string> -#include <strings.h> -#include <linux/types.h> -#include <linux/videodev.h> #include <linux/videodev2.h> - #include <sys/ioctl.h> -#include <sys/time.h> - #include <stdarg.h> -#include <time.h> -#include <stdio.h> -#include <vdr/osd.h> -#include <vdr/plugin.h> -#include <vdr/channels.h> -#include <vdr/sources.h> -#include <vdr/device.h> #include <vdr/plugin.h> #if VDRVERSNUM > 10712 #include <vdr/sourceparams.h> #define PVR_SOURCEPARAMS #endif - - #include "setup.h" #include "filter.h" #include "device.h" @@ -36,6 +20,7 @@ enum eLogLevel { pvrUNUSED, pvrERROR, pvrINFO, pvrDEBUG1, pvrDEBUG2, pvrDEBUG3 } #include "reader.h" #include "pvrinput.h" #include "menu.h" +#include "submenu.h" #include "sourceparams.h" #if VDRVERSNUM < 10507 @@ -1,6 +1,5 @@ #include "common.h" #include <linux/dvb/video.h> -#include <stdlib.h> char DRIVERNAME[][15] = { "undef", "ivtv", "cx18", "pvrusb2", "cx88_blackbird", "hdpvr" @@ -1,8 +1,6 @@ #ifndef _PVRINPUT_DEVICE_H_ #define _PVRINPUT_DEVICE_H_ -#include "common.h" - typedef enum { /* enumeration with encoder states */ eStop, eStart, @@ -1,9 +1,6 @@ #ifndef _PVRINPUT_FILTER_H_ #define _PVRINPUT_FILTER_H_ -#include <vdr/filter.h> - - class cPvrSectionFilter : public cListObject { friend class cPvrSectionHandler; private: @@ -25,11 +25,7 @@ * * ***************************************************************************/ -/*uncomment the following line to allow setting of PvrSetup.UseOnlyCard -and StreamType.value via OSD menu (see README) */ - #include "common.h" -#include "submenu.h" cPvrMenuSetup::cPvrMenuSetup() { @@ -28,8 +28,6 @@ #ifndef _PVRINPUT_MENU_H_ #define _PVRINPUT_MENU_H_ -#include "common.h" - typedef enum { ePicPropBrightness = 0, ePicPropContrast, @@ -1,8 +1,6 @@ #ifndef _PVRINPUT_PLUGIN_H_ #define _PVRINPUT_PLUGIN_H_ -#include "common.h" - class cPluginPvrInput : public cPlugin { private: public: @@ -1,8 +1,6 @@ #ifndef _PVRINPUT_READER_H_ #define _PVRINPUT_READER_H_ -#include "common.h" - class cPvrReadThread : public cThread { private: cPvrDevice *parent; @@ -1,8 +1,6 @@ #ifndef _PVRINPUT_SETUP_H_ #define _PVRINPUT_SETUP_H_ -#include "common.h" - struct valSet { v4l2_queryctrl queryctrl; int value; diff --git a/sourceparams.h b/sourceparams.h index 9af66cb..f1b3dce 100644 --- a/sourceparams.h +++ b/sourceparams.h @@ -1,8 +1,6 @@ #ifndef _PVRINPUT_SOURCEPARAMS_H #define _PVRINPUT_SOURCEPARAMS_H -#include "common.h" - class cPvrSourceParam #ifdef __SOURCEPARAMS_H : public cSourceParam @@ -25,7 +25,7 @@ * * ***************************************************************************/ -#include "submenu.h" +#include "common.h" static const char *aspectRatios[] = { "1:1", @@ -25,9 +25,6 @@ * * ***************************************************************************/ -#include "common.h" -#include <vdr/osdbase.h> - class cPvrSubMenu : public cOsdMenu { public: cPvrSubMenu(const char* text) : cOsdMenu(text, 33) { } |
