diff options
author | Max Kellermann <max@duempel.org> | 2013-01-17 00:56:57 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-01-18 15:34:01 +0100 |
commit | e5039c478aa93e3e107ee9031a3cf27a6c203fea (patch) | |
tree | 5d9fecc644b915fe02634911d65c29123e03c1b8 /src/ExcludeList.hxx | |
parent | 890151450663abd581cab56e853e8e713d822851 (diff) | |
download | mpd-e5039c478aa93e3e107ee9031a3cf27a6c203fea.tar.gz mpd-e5039c478aa93e3e107ee9031a3cf27a6c203fea.tar.xz mpd-e5039c478aa93e3e107ee9031a3cf27a6c203fea.zip |
Path: new class "Path" wraps filesystem path strings
Diffstat (limited to '')
-rw-r--r-- | src/ExcludeList.hxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ExcludeList.hxx b/src/ExcludeList.hxx index 4d678b085..f3dc1f057 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 |