namespace Srf
{
-using namespace std;
+using std::shared_ptr;
#ifdef HAVE_LIBSIGROKCXX
class LegacyCaptureDevice :
namespace Srf
{
-using namespace std;
+using std::shared_ptr;
#ifdef HAVE_LIBSIGROKDECODE
class LegacyDecoder :
namespace Srf
{
-using namespace std;
+using std::map;
+using std::shared_ptr;
+using std::string;
#ifdef HAVE_LIBSIGROKCXX
class LegacyInput :
namespace Srf
{
-using namespace std;
+using std::map;
+using std::shared_ptr;
+using std::string;
#ifdef HAVE_LIBSIGROKCXX
class LegacyOutput :
namespace Srf
{
-using namespace std;
+using std::runtime_error;
static bool srf_initialized_ = false;
namespace Srf
{
-using namespace std;
-using namespace std::placeholders;
+using std::move;
+using std::placeholders::_1;
+using std::placeholders::_2;
+using std::runtime_error;
+using std::shared_ptr;
+using std::static_pointer_cast;
#ifdef HAVE_LIBSIGROKCXX
void LegacyCaptureDevice::class_init(Gst::ElementClass<LegacyCaptureDevice> *klass)
namespace Srf
{
-using namespace std;
+using std::runtime_error;
#ifdef HAVE_LIBSIGROKDECODE
void LegacyDecoder::class_init(Gst::ElementClass<LegacyDecoder> *klass)
namespace Srf
{
-using namespace std;
-using namespace std::placeholders;
+using std::map;
+using std::move;
+using std::placeholders::_1;
+using std::placeholders::_2;
+using std::runtime_error;
+using std::shared_ptr;
+using std::static_pointer_cast;
+using std::string;
#ifdef HAVE_LIBSIGROKCXX
void LegacyInput::class_init(Gst::ElementClass<LegacyInput> *klass)
namespace Srf
{
-using namespace std;
+using std::cout;
+using std::map;
+using std::runtime_error;
+using std::shared_ptr;
+using std::string;
#ifdef HAVE_LIBSIGROKCXX
void LegacyOutput::class_init(Gst::ElementClass<LegacyOutput> *klass)