From e5039c478aa93e3e107ee9031a3cf27a6c203fea Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 17 Jan 2013 00:56:57 +0100 Subject: Path: new class "Path" wraps filesystem path strings --- src/ExcludeList.hxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/ExcludeList.hxx') diff --git a/src/ExcludeList.hxx b/src/ExcludeList.hxx index 4d678b08..f3dc1f05 100644 --- a/src/ExcludeList.hxx +++ b/src/ExcludeList.hxx @@ -31,6 +31,8 @@ #include +class Path; + class ExcludeList { class Pattern { GPatternSpec *pattern; @@ -65,7 +67,7 @@ public: /** * Loads and parses a .mpdignore file. */ - bool LoadFile(const char *path_fs); + bool LoadFile(const Path &path_fs); /** * Checks whether one of the patterns in the .mpdignore file matches -- cgit v1.2.3