summaryrefslogtreecommitdiff
path: root/live.h
AgeCommit message (Collapse)Author
2017-05-21Use "std::unique_ptr" instead of "std::auto_ptr"Jasmin Jessich
- Compile plugin with C++11 compiler, to allow usage of "std::unique_ptr". - Added "-Wfatal-errors -Wall" to stop on the first error and switch on all warnings. - Removed autoptr.h and used "std::unique_ptr" instead where macro AUTO_PTR has been used. Checked also, if the pointers are used correctly, because "std::unique_ptr" is not 100% compatible to "std::auto_ptr", when the pointer is "moved". "std::unique_ptr" needs an explicit call to "std::move" in this case (AFAIU). Keep "std::auto_ptr" in the epgsearch interface!
2017-05-21Include file re-orderingJasmin Jessich
- Reorder all included header files to this order: * own headers * STL headers * VDR headers * system headers This has been done in all source and all own header files. Normally the STL headers should have gone after the VDR headers, but due to an compilation error with GCC 6 and the definition of swap in vdr/tools.h if __STL_CONFIG_H is not defined, the STL headers need to be before the VDR headers. Please note, that GCC 4.x, 5.x and 6.x do no longer define __STL_CONFIG_H resulting in the definition of swap in vdr/tools.h. This was no problem till GCC 6.x. To overcome the error in GCC 6.x, __STL_CONFIG_H is now defined in some headers before including a VDR header file, so that vdr/tools.h doe not define swap any more. Klaus S. might change the definition in vdr/tools.h with the next VDR version. So the setting of "__STL_CONFIG_H" may be removed. - Added all missing system/STL/VDR header files to the own header files, so that they can be included as first file. - Removed all unnecessary header file includes in source and own header files. - Used #include "..." only for header files in the same directory and #include <...> for all header files which need to be searched via the -I and built in path.
2017-05-20gcc-6 fixesJasmin Jessich
- New file autoptr.h to switch between "std::unique_ptr" and "std::auto_ptr" depending on the GCC version, by new macro AUTO_PTR. - Removed some "using namespace std" and add some "#define __STL_CONFIG_H" before including header files. This will not define "swap" in vdr/tools.h. - Remove also "using namespace std::tr1".
2015-02-13Only VDR versions which have an APIVERSION greater than 10729 are supported ↵Dieter Hametner
from now on. This drop some conditional compilations and thus simplyfies overall maintanance.
2012-12-26Adds support for the newly introduced ResourceDirectory.Dieter Hametner
This is taken from a patch provided in ticket #1064.
2007-05-30- fixed #333 (thx to rofafor!)Michael Brückner
2007-01-05- removed obsolete interfacing codeSascha Volkenandt
2007-01-04- removed thread-unsafe call of cPlugin::ConfigDirectory and replaced it ↵Sascha Volkenandt
with Plugin::GetConfigDirectory - implemented proper shutdown of server thread on vdr termination
2007-01-04- optimized interface to access plugin objects from websiteSascha Volkenandt
- moved website code to pagelib subdirectory - introduced TimerManager that will help working on timers from a background thread
2007-01-03- renamed Setup::Get() to LiveSetup()Sascha Volkenandt
- added method that fetches plugin class from vdr and gets its setup object - demo code in channels.ecpp