fixed invalid cast of an rvalue by adding a string constructor to class eServiceRefer...
[enigma2.git] / lib / dvb / idvb.h
index 8aa3391dfeda6e9351ee2807cc7709e4756e1327..5b6f19fc806b0ea126d655c13e82ec91d473271c 100644 (file)
@@ -185,6 +185,11 @@ struct eServiceReferenceDVB: public eServiceReference
                :eServiceReference(eServiceReference::idDVB, 0)
        {
        }
                :eServiceReference(eServiceReference::idDVB, 0)
        {
        }
+
+       eServiceReferenceDVB(const std::string &string)
+               :eServiceReference(string)
+       {
+       }
 };
 
 
 };
 
 
@@ -466,12 +471,15 @@ public:
                /** Set Displayed Audio PID and type */
        virtual RESULT setAudioPID(int apid, int type)=0;
 
                /** Set Displayed Audio PID and type */
        virtual RESULT setAudioPID(int apid, int type)=0;
 
+               /** Set Displayed Videotext PID */
+       virtual RESULT setTextPID(int vpid)=0;
+
                /** Set Sync mode to PCR */
        virtual RESULT setSyncPCR(int pcrpid)=0;
        enum { sm_Audio, sm_Video };
                /** Set Sync mode to either audio or video master */
        virtual RESULT setSyncMaster(int who)=0;
                /** Set Sync mode to PCR */
        virtual RESULT setSyncPCR(int pcrpid)=0;
        enum { sm_Audio, sm_Video };
                /** Set Sync mode to either audio or video master */
        virtual RESULT setSyncMaster(int who)=0;
-       
+
                /** Apply settings */
        virtual RESULT start()=0;
        
                /** Apply settings */
        virtual RESULT start()=0;