dont try to get frontend informations when the eDVBServicePlay is a pvr service
[enigma2.git] / lib / service / listboxservice.h
index e65ffc8..a742b06 100644 (file)
@@ -3,7 +3,6 @@
 
 #include <lib/gui/elistbox.h>
 #include <lib/service/iservice.h>
-
 #include <set>
 
 class eListboxServiceContent: public virtual iListboxContent
@@ -11,8 +10,12 @@ class eListboxServiceContent: public virtual iListboxContent
        DECLARE_REF(eListboxServiceContent);
 public:
        eListboxServiceContent();
+
+       void setIgnoreService( const eServiceReference &service );
        void setRoot(const eServiceReference &ref);
        void getCurrent(eServiceReference &ref);
+       
+       int getNextBeginningWithChar(char c);
 
                /* support for marked services */
        void initMarked();
@@ -25,7 +28,8 @@ public:
        int markedQueryNext(eServiceReference &ref);
 
        int lookupService(const eServiceReference &ref);
-       
+       void setCurrent(const eServiceReference &ref);
+
        enum {
                visModeSimple,
                visModeComplex
@@ -35,9 +39,9 @@ public:
        
                /* only in complex mode: */
        enum {
-               celServiceName,
-               celServiceNumber,
                celIcon,
+               celServiceNumber,
+               celServiceName,
                celServiceInfo, // "now" event
                celElements
        };
@@ -48,13 +52,15 @@ public:
        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();
+       int cursorSet(int n);
+       int cursorGet();
 
        void cursorSave();
        void cursorRestore();
@@ -90,7 +96,10 @@ private:
 
                /* support for movemode */
        bool m_current_marked;
-       list::iterator m_swap;
+
+       int m_numberoffset;
+
+       eServiceReference m_is_playable_ignore;
 };
 
 #endif