From f9b3400cc1f9244dd20c3b1f1aca99e1f011bac8 Mon Sep 17 00:00:00 2001 From: Christian Wieninger Date: Wed, 20 Feb 2008 19:15:56 +0100 Subject: timerstatus files --- timerstatus.h | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 timerstatus.h (limited to 'timerstatus.h') 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 + +#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; -- cgit v1.2.3