summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/util/zippath.h
diff options
context:
space:
mode:
author Nathan Woods <npwoods@mess.org>2016-07-29 18:00:46 -0400
committer Nathan Woods <npwoods@mess.org>2016-07-29 18:00:46 -0400
commitbf111bbc6e3ccff9282d8a28ccdddc784c06310d (patch)
treeb998db855915de44effc972755caf0aa457e69e0 /src/lib/util/zippath.h
parentc11997af03ab8d5560385d84a2b0c5b2d2d71dba (diff)
Converted a number of zippath calls that took 'const char *' to std::string
Diffstat (limited to 'src/lib/util/zippath.h')
-rw-r--r--src/lib/util/zippath.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/lib/util/zippath.h b/src/lib/util/zippath.h
index d0b017f86eb..9c5b361b076 100644
--- a/src/lib/util/zippath.h
+++ b/src/lib/util/zippath.h
@@ -34,28 +34,28 @@ class zippath_directory;
// ----- path operations -----
// retrieves the parent directory
-std::string &zippath_parent(std::string &dst, const char *path);
-std::string zippath_parent(const char *path);
+std::string &zippath_parent(std::string &dst, const std::string &path);
+std::string zippath_parent(const std::string &path);
// retrieves the parent directory basename
-std::string &zippath_parent_basename(std::string &dst, const char *path);
-std::string zippath_parent_basename(const char *path);
+std::string &zippath_parent_basename(std::string &dst, const std::string &path);
+std::string zippath_parent_basename(const std::string &path);
// combines two paths
-std::string &zippath_combine(std::string &dst, const char *path1, const char *path2);
-std::string zippath_combine(const char *path1, const char *path2);
+std::string &zippath_combine(std::string &dst, const std::string &path1, const std::string &path2);
+std::string zippath_combine(const std::string &path1, const std::string &path2);
// ----- file operations -----
// opens a zip path file
-osd_file::error zippath_fopen(const char *filename, UINT32 openflags, util::core_file::ptr &file, std::string &revised_path);
+osd_file::error zippath_fopen(const std::string &filename, UINT32 openflags, util::core_file::ptr &file, std::string &revised_path);
// ----- directory operations ----- */
// opens a directory
-osd_file::error zippath_opendir(const char *path, zippath_directory **directory);
+osd_file::error zippath_opendir(const std::string &path, zippath_directory **directory);
// closes a directory
void zippath_closedir(zippath_directory *directory);