renable callable func to selectable func
[enigma2.git] / lib / service / listboxservice.h
index d26ee54520eaac4f8fc1e13fa9dc933c50782184..b64e875f0c4a600a078ffe90f98027269b2e11bb 100644 (file)
@@ -11,7 +11,8 @@ class eListboxServiceContent: public virtual iListboxContent
 public:
        eListboxServiceContent();
 
-       void addService(const eServiceReference &ref);
+       void addService(const eServiceReference &ref, bool beforeCurrent=false);
+       void removeCurrent();
        void FillFinished();
 
        void setIgnoreService( const eServiceReference &service );
@@ -19,7 +20,9 @@ public:
        void getCurrent(eServiceReference &ref);
        
        int getNextBeginningWithChar(char c);
-
+       int getPrevMarkerPos();
+       int getNextMarkerPos();
+       
                /* support for marked services */
        void initMarked();
        void addMarked(const eServiceReference &ref);
@@ -43,6 +46,7 @@ public:
                /* only in complex mode: */
        enum {
                celServiceNumber,
+               celMarkerPixmap,
                celFolderPixmap,
                celServiceName,
                celServiceTypePixmap,
@@ -54,7 +58,9 @@ public:
                picDVB_S,
                picDVB_T,
                picDVB_C,
+               picServiceGroup,
                picFolder,
+               picMarker,
                picElements
        };
 
@@ -67,6 +73,10 @@ public:
        int setCurrentMarked(bool);
 
        void setNumberOffset(int offset) { m_numberoffset = offset; }
+       
+       int getItemHeight() { return m_itemheight; }
+       int setItemHeight(int height);
+       
 protected:
        void cursorHome();
        void cursorEnd();
@@ -101,6 +111,7 @@ private:
        
        eSize m_itemsize;
        ePtr<iServiceHandler> m_service_center;
+       ePtr<iListableService> m_lst;
        
        eServiceReference m_root;
 
@@ -114,6 +125,8 @@ private:
        int m_numberoffset;
 
        eServiceReference m_is_playable_ignore;
+
+       int m_itemheight;
 };
 
 #endif