PSignal was already able to handle this without modifications
[vuplus_dvbapp] / lib / base / console.h
index bfa0240..ddfd82a 100644 (file)
@@ -40,7 +40,7 @@ public:
        void sendCtrlC();
        void write( const char *data, int len );
        bool running() { return (fd[0]!=-1) && (fd[1]!=-1) && (fd[2]!=-1); }
        void sendCtrlC();
        void write( const char *data, int len );
        bool running() { return (fd[0]!=-1) && (fd[1]!=-1) && (fd[2]!=-1); }
-       PSignal1Str<void, const char*> dataAvail;
+       PSignal1<void, const char*> dataAvail;
        PSignal1<void,int> dataSent;
        PSignal1<void,int> appClosed;
 };
        PSignal1<void,int> dataSent;
        PSignal1<void,int> appClosed;
 };