src/fileio.cpp
changeset 10238 5076964d81a1
parent 10201 4c181fbe8f2a
child 10310 ca2eb5811a07
equal deleted inserted replaced
10237:c55922dabb25 10238:5076964d81a1
  1027 }
  1027 }
  1028 
  1028 
  1029 /**
  1029 /**
  1030  * Scan for files with the given extention in the given search path.
  1030  * Scan for files with the given extention in the given search path.
  1031  * @param extension the extension of files to search for.
  1031  * @param extension the extension of files to search for.
  1032  * @param sp        the sub directory to search in.
  1032  * @param sd        the sub directory to search in.
  1033  * @param tars      whether to search in the tars too.
  1033  * @param tars      whether to search in the tars too.
  1034  * @return the number of found files, i.e. the number of times that
  1034  * @return the number of found files, i.e. the number of times that
  1035  *         AddFile returned true.
  1035  *         AddFile returned true.
  1036  */
  1036  */
  1037 uint FileScanner::Scan(const char *extension, Subdirectory sd, bool tars)
  1037 uint FileScanner::Scan(const char *extension, Subdirectory sd, bool tars)