Use Unicode filenames on Windows (this time the correct patch).

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@734975 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
This commit is contained in:
Lukáš Lalinský
2007-11-10 16:06:16 +00:00
parent 7b0c053359
commit bb438484da
20 changed files with 134 additions and 49 deletions

View File

@ -68,7 +68,7 @@ public:
// public members
////////////////////////////////////////////////////////////////////////////////
Ogg::FLAC::File::File(const char *file, bool readProperties,
Ogg::FLAC::File::File(FileName file, bool readProperties,
Properties::ReadStyle propertiesStyle) : Ogg::File(file)
{
d = new FilePrivate;

View File

@ -68,7 +68,7 @@ namespace TagLib {
* the file's audio properties will also be read using \a propertiesStyle.
* If false, \a propertiesStyle is ignored.
*/
File(const char *file, bool readProperties = true,
File(FileName file, bool readProperties = true,
Properties::ReadStyle propertiesStyle = Properties::Average);
/*!

View File

@ -208,7 +208,7 @@ bool Ogg::File::save()
// protected members
////////////////////////////////////////////////////////////////////////////////
Ogg::File::File(const char *file) : TagLib::File(file)
Ogg::File::File(FileName file) : TagLib::File(file)
{
d = new FilePrivate;
}

View File

@ -90,7 +90,7 @@ namespace TagLib {
* instantiated directly but rather should be used through the codec
* specific subclasses.
*/
File(const char *file);
File(FileName file);
private:
File(const File &);

View File

@ -61,7 +61,7 @@ namespace TagLib {
// public members
////////////////////////////////////////////////////////////////////////////////
Vorbis::File::File(const char *file, bool readProperties,
Vorbis::File::File(FileName file, bool readProperties,
Properties::ReadStyle propertiesStyle) : Ogg::File(file)
{
d = new FilePrivate;

View File

@ -67,7 +67,7 @@ namespace TagLib {
* file's audio properties will also be read using \a propertiesStyle. If
* false, \a propertiesStyle is ignored.
*/
File(const char *file, bool readProperties = true,
File(FileName file, bool readProperties = true,
Properties::ReadStyle propertiesStyle = Properties::Average);
/*!