mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +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 :-)
This commit is contained in:
@@ -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