aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authort-nelson <trent.a.b.nelson@gmail.com>2013-07-21 09:36:03 -0400
committert-nelson <trent.a.b.nelson@gmail.com>2013-07-21 09:36:56 -0400
commitc0909faf3df69d7b8d0942fa0087afd4167ab657 (patch)
tree2dff9b362ef62a9e4b374570422ff76a6cafa01d
parent8193a5359d133a4cbf4858bf2c95c0bf7d86357a (diff)
Don't use 'using' directive in headers!
-rw-r--r--xbmc/music/tags/TagLibVFSStream.h17
1 files changed, 7 insertions, 10 deletions
diff --git a/xbmc/music/tags/TagLibVFSStream.h b/xbmc/music/tags/TagLibVFSStream.h
index 43bf4195a2..7e8501414d 100644
--- a/xbmc/music/tags/TagLibVFSStream.h
+++ b/xbmc/music/tags/TagLibVFSStream.h
@@ -23,12 +23,9 @@
#include "utils/StdString.h"
#include <taglib/tiostream.h>
-using namespace XFILE;
-using namespace TagLib;
-
namespace MUSIC_INFO
{
- class TagLibVFSStream : public IOStream
+ class TagLibVFSStream : public TagLib::IOStream
{
public:
/*!
@@ -45,12 +42,12 @@ namespace MUSIC_INFO
/*!
* Returns the file name in the local file system encoding.
*/
- FileName name() const;
+ TagLib::FileName name() const;
/*!
* Reads a block of size \a length at the current get pointer.
*/
- ByteVector readBlock(TagLib::ulong length);
+ TagLib::ByteVector readBlock(TagLib::ulong length);
/*!
* Attempts to write the block \a data at the current get pointer. If the
@@ -61,7 +58,7 @@ namespace MUSIC_INFO
* for a ByteVector. And even this function is significantly slower than
* doing output with a char[].
*/
- void writeBlock(const ByteVector &data);
+ void writeBlock(const TagLib::ByteVector &data);
/*!
* Insert \a data at position \a start in the file overwriting \a replace
@@ -70,7 +67,7 @@ namespace MUSIC_INFO
* \note This method is slow since it requires rewriting all of the file
* after the insertion point.
*/
- void insert(const ByteVector &data, TagLib::ulong start = 0, TagLib::ulong replace = 0);
+ void insert(const TagLib::ByteVector &data, TagLib::ulong start = 0, TagLib::ulong replace = 0);
/*!
* Removes a block of the file starting a \a start and continuing for
@@ -98,7 +95,7 @@ namespace MUSIC_INFO
*
* \see Position
*/
- void seek(long offset, Position p = Beginning);
+ void seek(long offset, TagLib::IOStream::Position p = Beginning);
/*!
* Reset the end-of-file and error flags on the file.
@@ -128,7 +125,7 @@ namespace MUSIC_INFO
private:
std::string m_strFileName;
- CFile m_file;
+ XFILE::CFile m_file;
bool m_bIsReadOnly;
bool m_bIsOpen;
int m_bufferSize;