Add PCMParserList.h to list of extra exported headers.
[asdcplib.git] / src / KM_fileio.h
index 43b164df2c5fc58681dfdf12222712717a5ba228..58a27099cf00d4184f307069a729877914973c42 100755 (executable)
@@ -1,5 +1,5 @@
 /*
-Copyright (c) 2004-2006, John Hurst
+Copyright (c) 2004-2007, John Hurst
 All rights reserved.
 
 Redistribution and use in source and binary forms, with or without
@@ -141,6 +141,7 @@ namespace Kumu
     inline bool Match(const std::string& s) const { return true; }
   };
 
+#ifndef KM_WIN32
  class PathMatchRegex : public IPathMatch
   {
     regex_t m_regex;
@@ -166,11 +167,12 @@ namespace Kumu
     virtual ~PathMatchGlob();
     bool Match(const std::string& s) const;
   };
+#endif /* !KM_WIN32 */
 
   // Search all paths in SearchPaths for filenames matching Pattern (no directories are returned).
   // Put results in FoundPaths. Returns after first find if one_shot is true.
   PathList_t& FindInPath(const IPathMatch& Pattern, const std::string& SearchDir,
-                        PathList_t& FoundPaths, bool one_shot, char separator);
+                        PathList_t& FoundPaths, bool one_shot = false, char separator = '/');
 
   PathList_t& FindInPaths(const IPathMatch& Pattern, const PathList_t& SearchPaths,
                          PathList_t& FoundPaths, bool one_shot = false, char separator = '/');