mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 10:21:04 +02:00
add CListHelpers class
this can be used to factor out duplicate code implementations
from all the various channel-, bouquet-, eventlists etc...
Origin commit data
------------------
Commit: ec4aa07e17
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
62b60965a5
commit
23ddf51b9d
30
src/gui/widget/listhelpers.h
Normal file
30
src/gui/widget/listhelpers.h
Normal file
@@ -0,0 +1,30 @@
|
||||
/*
|
||||
Helper functions for various list implementations in neutrino
|
||||
Copyright (C) 2016 Stefan Seyfried
|
||||
|
||||
License: GPL
|
||||
|
||||
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, see http://www.gnu.org/licenses/
|
||||
*/
|
||||
|
||||
|
||||
#ifndef __LISTHELPERS__
|
||||
#define __LISTHELPERS__
|
||||
|
||||
class CListHelpers
|
||||
{
|
||||
public:
|
||||
template <class T> int UpDownKey(T list, neutrino_msg_t k, int lines, int sel);
|
||||
};
|
||||
#endif
|
Reference in New Issue
Block a user