diff options
author | Christian Wieninger <cwieninger (at) gmx (dot) de> | 2008-02-20 19:15:56 +0100 |
---|---|---|
committer | Christian Wieninger <cwieninger (at) gmx (dot) de> | 2008-02-20 19:15:56 +0100 |
commit | f9b3400cc1f9244dd20c3b1f1aca99e1f011bac8 (patch) | |
tree | 4cbc35db1f968a47107163c478a5df2495ea5034 /timerstatus.h | |
parent | bf057bf359c8650bc7023d43bf47f9237992fb15 (diff) | |
download | vdr-plugin-epgsearch-f9b3400cc1f9244dd20c3b1f1aca99e1f011bac8.tar.gz vdr-plugin-epgsearch-f9b3400cc1f9244dd20c3b1f1aca99e1f011bac8.tar.bz2 |
timerstatus files
Diffstat (limited to 'timerstatus.h')
-rw-r--r-- | timerstatus.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/timerstatus.h b/timerstatus.h new file mode 100644 index 0000000..ea72027 --- /dev/null +++ b/timerstatus.h @@ -0,0 +1,42 @@ +/* +Copyright (C) 2004-2008 Christian Wieninger + +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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +Or, point your browser to http://www.gnu.org/licenses/old-licenses/gpl-2.0.html + +The author can be reached at cwieninger@gmx.de + +The project's page is at http://winni.vdr-developer.org/epgsearch +*/ + +#include <vdr/status.h> + +#if APIVERSNUM < 10515 +enum eTimerChange { tcMod, tcAdd, tcDel }; + RegisterI18n(Phrases); +#endif + +class cTimerStatusMonitor : public cStatus +{ + bool conflictCheckAdvised; + protected: + virtual void TimerChange(const cTimer *Timer, eTimerChange Change); + public: + cTimerStatusMonitor(); + void SetConflictCheckAdvised(bool ConflictCheckAdvised = true); + bool ConflictCheckAdvised(); +}; + +extern cTimerStatusMonitor* gl_timerStatusMonitor; |