fs/Path: move definitions to struct PathTraits

This commit is contained in:
Max Kellermann
2013-10-17 23:23:25 +02:00
parent a63613dba0
commit b3611524f4
18 changed files with 155 additions and 106 deletions

View File

@@ -34,7 +34,7 @@
#include "Song.hxx"
#include "TagFile.hxx"
#include "cue/CueParser.hxx"
#include "fs/Path.hxx"
#include "fs/Traits.hxx"
#include <glib.h>
#include <assert.h>
@@ -96,7 +96,7 @@ embcue_playlist_open_uri(const char *uri,
gcc_unused Mutex &mutex,
gcc_unused Cond &cond)
{
if (!Path::IsAbsoluteUTF8(uri))
if (!PathTraits::IsAbsoluteUTF8(uri))
/* only local files supported */
return NULL;