mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-20 03:01:02 +00:00
COMMON: Cleanup: Use StringArray instead of custom type.
This commit is contained in:
parent
fd5799aa19
commit
b8fb9e6a51
@ -262,7 +262,7 @@ bool MacResManager::exists(const String &fileName) {
|
||||
return false;
|
||||
}
|
||||
|
||||
void MacResManager::listFiles(Array<String> &files, const String &pattern) {
|
||||
void MacResManager::listFiles(StringArray &files, const String &pattern) {
|
||||
// Base names discovered so far.
|
||||
typedef HashMap<String, bool, IgnoreCase_Hash, IgnoreCase_EqualTo> BaseNameSet;
|
||||
BaseNameSet baseNames;
|
||||
|
@ -33,6 +33,7 @@
|
||||
#include "common/array.h"
|
||||
#include "common/fs.h"
|
||||
#include "common/str.h"
|
||||
#include "common/str-array.h"
|
||||
|
||||
#ifndef COMMON_MACRESMAN_H
|
||||
#define COMMON_MACRESMAN_H
|
||||
@ -89,7 +90,7 @@ public:
|
||||
* @param pattern Pattern to match against. Taking String::matchPattern's
|
||||
* format.
|
||||
*/
|
||||
static void listFiles(Array<String> &files, const String &pattern);
|
||||
static void listFiles(StringArray &files, const String &pattern);
|
||||
|
||||
/**
|
||||
* Close the Mac data/resource fork pair.
|
||||
|
Loading…
x
Reference in New Issue
Block a user