aboutsummaryrefslogtreecommitdiff
path: root/src/ExcludeList.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-17 00:56:57 +0100
committerMax Kellermann <max@duempel.org>2013-01-18 15:34:01 +0100
commite5039c478aa93e3e107ee9031a3cf27a6c203fea (patch)
tree5d9fecc644b915fe02634911d65c29123e03c1b8 /src/ExcludeList.hxx
parent890151450663abd581cab56e853e8e713d822851 (diff)
Path: new class "Path" wraps filesystem path strings
Diffstat (limited to 'src/ExcludeList.hxx')
-rw-r--r--src/ExcludeList.hxx4
1 files changed, 3 insertions, 1 deletions
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 <glib.h>
+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