diff options
Diffstat (limited to 'displaychannel.c')
-rw-r--r-- | displaychannel.c | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/displaychannel.c b/displaychannel.c index 9eead8f..c9cc832 100644 --- a/displaychannel.c +++ b/displaychannel.c @@ -29,6 +29,63 @@ void cSDDisplayChannel::SetMessage(eMessageType Type, const char *Text) { view->SetMessage(Type, Text); } +#ifdef USE_ZAPCOCKPIT + +void cSDDisplayChannel::SetViewType(eDisplaychannelView ViewType) { + if (!ok) + return; + view->SetViewType(ViewType); +} + +int cSDDisplayChannel::MaxItems(void) { + if (!ok) + return 0; + return view->MaxItems(); +} + +void cSDDisplayChannel::SetChannelInfo(const cChannel *Channel) { + if (!ok) + return; + view->SetChannelInfo(Channel); +} + +void cSDDisplayChannel::SetChannelList(const cChannel *Channel, int Index, bool Current) { + if (!ok) + return; + view->SetChannelList(Channel, Index, Current); +} + +void cSDDisplayChannel::SetGroupList(const char *Group, int NumChannels, int Index, bool Current) { + if (!ok) + return; + view->SetGroupList(Group, NumChannels, Index, Current); +} + +void cSDDisplayChannel::SetGroupChannelList(const cChannel *Channel, int Index, bool Current) { + if (!ok) + return; +} + +void cSDDisplayChannel::ClearList(void) { + if (!ok) + return; + view->ClearList(); +} + +void cSDDisplayChannel::SetNumChannelHints(int Num) { + if (!ok) + return; + view->SetNumChannelHints(Num); +} + +void cSDDisplayChannel::SetChannelHint(const cChannel *Channel) { + if (!ok) + return; + view->SetChannelHint(Channel); +} + +#endif //USE_ZAPCOCKPIT + void cSDDisplayChannel::Flush(void) { if (!ok) return; |