Remove "using namespace" from header
This commit is contained in:
parent
6407ca51cd
commit
3a6f822381
@ -23,13 +23,11 @@
|
|||||||
#include "ardour/mp3fileimportable.h"
|
#include "ardour/mp3fileimportable.h"
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
namespace ARDOUR {
|
namespace ARDOUR {
|
||||||
|
|
||||||
class LIBARDOUR_API Mp3FileSource : public AudioFileSource {
|
class LIBARDOUR_API Mp3FileSource : public AudioFileSource {
|
||||||
public:
|
public:
|
||||||
Mp3FileSource (ARDOUR::Session&, const string& path, int chn, Flag);
|
Mp3FileSource (ARDOUR::Session&, const std::string& path, int chn, Flag);
|
||||||
~Mp3FileSource ();
|
~Mp3FileSource ();
|
||||||
|
|
||||||
/* AudioSource API */
|
/* AudioSource API */
|
||||||
@ -42,7 +40,7 @@ public:
|
|||||||
int flush_header () { return 0; }
|
int flush_header () { return 0; }
|
||||||
void set_header_natural_position () {};
|
void set_header_natural_position () {};
|
||||||
|
|
||||||
static int get_soundfile_info (string path, SoundFileInfo& _info, string& error_msg);
|
static int get_soundfile_info (std::string path, SoundFileInfo& _info, std::string& error_msg);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
/* FileSource API */
|
/* FileSource API */
|
||||||
|
@ -22,6 +22,7 @@
|
|||||||
|
|
||||||
#include "pbd/i18n.h"
|
#include "pbd/i18n.h"
|
||||||
|
|
||||||
|
using namespace std;
|
||||||
using namespace ARDOUR;
|
using namespace ARDOUR;
|
||||||
using namespace PBD;
|
using namespace PBD;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user