mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 02:11:04 +02:00
timerlist: use CListHelpers
remove duplicated code and use CListHelpers::UpDownKey().
Some variable types had to be changed to avoid typecasts, as
a result (int) casts to foo.size() had to be added :-)
Origin commit data
------------------
Commit: ed7eaafbcb
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2016-01-16 (Sat, 16 Jan 2016)
This commit is contained in:
committed by
vanhofen
parent
97a2119e6a
commit
9f399e356d
@@ -24,6 +24,7 @@
|
||||
#include <global.h>
|
||||
#include <gui/bouquetlist.h>
|
||||
#include <libupnpclient/upnpclient.h>
|
||||
#include <timerdclient/timerdtypes.h>
|
||||
|
||||
static int upDownKey(int size, neutrino_msg_t msg, int lines, int sel)
|
||||
{
|
||||
@@ -83,3 +84,4 @@ updown_t(std::vector<CZapitBouquet*>);
|
||||
updown_t(std::vector<CZapitChannel*>);
|
||||
updown_t(std::vector<CChannelEvent>);
|
||||
updown_t(std::vector<CUPnPDevice>);
|
||||
updown_t(std::vector<CTimerd::responseGetTimer>);
|
||||
|
Reference in New Issue
Block a user