summaryrefslogtreecommitdiffstats
path: root/source/StringUtils.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/StringUtils.h')
-rw-r--r--source/StringUtils.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/StringUtils.h b/source/StringUtils.h
index 8805c1d99..262c01e49 100644
--- a/source/StringUtils.h
+++ b/source/StringUtils.h
@@ -15,6 +15,7 @@
typedef std::string AString;
typedef std::vector<AString> AStringVector;
+typedef std::list<AString> AStringList;
@@ -41,6 +42,10 @@ extern int NoCaseCompare(const AString & s1, const AString & s2);
/// Replaces *each* occurence of iNeedle in iHayStack with iReplaceWith
extern void ReplaceString(AString & iHayStack, const AString & iNeedle, const AString & iReplaceWith);
+/// Returns the list of all items in the specified directory (files, folders, nix pipes, whatever's there)
+extern AStringList GetDirectoryContents(const char * a_Directory);
+
+
// If you have any other string helper functions, declare them here