git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
new plugin interface
[enigma2.git]
/
lib
/
service
/
listboxservice.h
diff --git
a/lib/service/listboxservice.h
b/lib/service/listboxservice.h
index e65ffc8d9353023da8f56251a82e43f87f8af1fd..234cd39014e5e85b01cc0bc6fc4748041029b0ba 100644
(file)
--- a/
lib/service/listboxservice.h
+++ b/
lib/service/listboxservice.h
@@
-3,7
+3,6
@@
#include <lib/gui/elistbox.h>
#include <lib/service/iservice.h>
#include <lib/gui/elistbox.h>
#include <lib/service/iservice.h>
-
#include <set>
class eListboxServiceContent: public virtual iListboxContent
#include <set>
class eListboxServiceContent: public virtual iListboxContent
@@
-11,8
+10,15
@@
class eListboxServiceContent: public virtual iListboxContent
DECLARE_REF(eListboxServiceContent);
public:
eListboxServiceContent();
DECLARE_REF(eListboxServiceContent);
public:
eListboxServiceContent();
- void setRoot(const eServiceReference &ref);
+
+ void addService(const eServiceReference &ref);
+ void FillFinished();
+
+ void setIgnoreService( const eServiceReference &service );
+ void setRoot(const eServiceReference &ref, bool justSet=false);
void getCurrent(eServiceReference &ref);
void getCurrent(eServiceReference &ref);
+
+ int getNextBeginningWithChar(char c);
/* support for marked services */
void initMarked();
/* support for marked services */
void initMarked();
@@
-25,7
+31,8
@@
public:
int markedQueryNext(eServiceReference &ref);
int lookupService(const eServiceReference &ref);
int markedQueryNext(eServiceReference &ref);
int lookupService(const eServiceReference &ref);
-
+ void setCurrent(const eServiceReference &ref);
+
enum {
visModeSimple,
visModeComplex
enum {
visModeSimple,
visModeComplex
@@
-35,9
+42,9
@@
public:
/* only in complex mode: */
enum {
/* only in complex mode: */
enum {
- celServiceName,
- celServiceNumber,
celIcon,
celIcon,
+ celServiceNumber,
+ celServiceName,
celServiceInfo, // "now" event
celElements
};
celServiceInfo, // "now" event
celElements
};
@@
-48,13
+55,15
@@
public:
void sort();
int setCurrentMarked(bool);
void sort();
int setCurrentMarked(bool);
- int cursorSet(int n);
- int cursorGet();
+
+ void setNumberOffset(int offset) { m_numberoffset = offset; }
protected:
void cursorHome();
void cursorEnd();
int cursorMove(int count=1);
int cursorValid();
protected:
void cursorHome();
void cursorEnd();
int cursorMove(int count=1);
int cursorValid();
+ int cursorSet(int n);
+ int cursorGet();
void cursorSave();
void cursorRestore();
void cursorSave();
void cursorRestore();
@@
-90,7
+99,10
@@
private:
/* support for movemode */
bool m_current_marked;
/* support for movemode */
bool m_current_marked;
- list::iterator m_swap;
+
+ int m_numberoffset;
+
+ eServiceReference m_is_playable_ignore;
};
#endif
};
#endif