X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FSocket%2FProtocols%2FDVB%2FDVBSocketController.cc;h=a525fad27f56ae0f3aef520a42f74b33e259f0f2;hb=fde4399789762f8257f7361761bd1a798068e717;hp=c72ba1574c756ed218c38c3c87213336fc0ad1b1;hpb=f13780e9e4da7df981d6f6542fbdc714beb34765;p=senf.git diff --git a/senf/Socket/Protocols/DVB/DVBSocketController.cc b/senf/Socket/Protocols/DVB/DVBSocketController.cc index c72ba15..a525fad 100644 --- a/senf/Socket/Protocols/DVB/DVBSocketController.cc +++ b/senf/Socket/Protocols/DVB/DVBSocketController.cc @@ -431,10 +431,10 @@ prefix_ void senf::DVBSocketController::initConsole() dir.doc("DVB Controller " + controllerNr); ++controllerNr; - dir.add("type", fty::BoundCommand(this, &DVBSocketController::getTypeString) + dir.add("type", fty::Command(&DVBSocketController::getTypeString, this) .doc("Shows actual type of card DVB-{T, S, C}") ); - dir.add("info", fty::BoundCommand(this, &DVBSocketController::getTuneInfo) + dir.add("info", fty::Command(&DVBSocketController::getTuneInfo, this) .doc("Returns a string which shows actual tuning status.\n" "'S' prints signal strength (in hex)\n" "'s' prints singal to noise ration (in hex)\n" @@ -446,7 +446,7 @@ prefix_ void senf::DVBSocketController::initConsole() "and could end in throwing an exception!") .arg("conf", "Ssbuf", kw::default_value = "Ssbuf") ); - dir.add("tune", fty::BoundCommand(this,&DVBSocketController::tuneToCMD) + dir.add("tune", fty::Command(&DVBSocketController::tuneToCMD, this) .doc("tunes to channel listet in the configfile.") .arg("channel", "channel to tune") .arg("mode", "mode 'sync' or 'async'", kw::default_value = "async") );