neutrino eventlist: show timer conflicts

This is a partial port from tuxbox.
TODO: solution for zapto timer events

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1791 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Commit: fe181e7d01
Author: Thilo Graf <dbt@novatux.de>
Date: 2011-10-29 (Sat, 29 Oct 2011)

Origin message was:
------------------
*neutrino eventlist: show timer conflicts

This is a partial port from tuxbox.
TODO: solution for zapto timer events

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1791 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
2011-10-28 22:16:04 +00:00
parent bab48551ad
commit 68ca9c9a8e
2 changed files with 76 additions and 18 deletions

View File

@@ -102,7 +102,8 @@ class EventList
int height, fh;
int x;
int y;
int sort_mode;
int sort_mode;
event_id_t item_event_ID;
void paintItem(unsigned pos, t_channel_id channel_id = 0);
void paint(t_channel_id channel_id = 0);
@@ -110,8 +111,14 @@ class EventList
void paintHead(std::string _channelname, std::string _channelname_prev, std::string _channelname_next);
void hide();
void showFunctionBar(bool show, t_channel_id channel_id);
int timerPre;
int timerPost;
void UpdateTimerList(void);
bool HasTimerConflicts(time_t starttime, time_t duration, event_id_t * epg_ID);
CTimerd::CTimerEventTypes isScheduled(t_channel_id channel_id, CChannelEvent * event, int * tID = NULL);
public:
EventList();
~EventList();