aboutsummaryrefslogtreecommitdiffstats
path: root/src/archive/ArchivePlugin.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/archive/ArchivePlugin.hxx')
-rw-r--r--src/archive/ArchivePlugin.hxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/archive/ArchivePlugin.hxx b/src/archive/ArchivePlugin.hxx
index 023c933f3..eb24bbdf9 100644
--- a/src/archive/ArchivePlugin.hxx
+++ b/src/archive/ArchivePlugin.hxx
@@ -21,6 +21,7 @@
#define MPD_ARCHIVE_PLUGIN_HXX
class ArchiveFile;
+class Path;
class Error;
struct ArchivePlugin {
@@ -44,7 +45,7 @@ struct ArchivePlugin {
* returns pointer to handle used is all operations with this archive
* or nullptr when opening fails
*/
- ArchiveFile *(*open)(const char *path_fs, Error &error);
+ ArchiveFile *(*open)(Path path_fs, Error &error);
/**
* suffixes handled by this plugin.
@@ -54,7 +55,7 @@ struct ArchivePlugin {
};
ArchiveFile *
-archive_file_open(const ArchivePlugin *plugin, const char *path,
+archive_file_open(const ArchivePlugin *plugin, Path path,
Error &error);
#endif