aboutsummaryrefslogtreecommitdiff
path: root/gui/chooser.h
diff options
context:
space:
mode:
authorMax Horn2010-03-18 15:09:24 +0000
committerMax Horn2010-03-18 15:09:24 +0000
commitc934642bdb7e6747a20054d7cc7b079e69bc22c2 (patch)
tree190d12bad5ed1cbabbd498d310f261c3a1c25bc9 /gui/chooser.h
parent30c84d2cff41924e6229d0cacd3d36ce1c2bf6ac (diff)
downloadscummvm-rg350-c934642bdb7e6747a20054d7cc7b079e69bc22c2.tar.gz
scummvm-rg350-c934642bdb7e6747a20054d7cc7b079e69bc22c2.tar.bz2
scummvm-rg350-c934642bdb7e6747a20054d7cc7b079e69bc22c2.zip
COMMON: Move typedef StringList from str.h to new header str-array.h
This removes the dependency on array.h from str.h. Also, begun migration from the confusing type name "StringList" to the more appropriate StringArray. svn-id: r48282
Diffstat (limited to 'gui/chooser.h')
-rw-r--r--gui/chooser.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/chooser.h b/gui/chooser.h
index 836f30bd8c..ce67c008df 100644
--- a/gui/chooser.h
+++ b/gui/chooser.h
@@ -39,7 +39,7 @@ class ListWidget;
class ChooserDialog : public Dialog {
typedef Common::String String;
- typedef Common::StringList StringList;
+ typedef Common::Array<Common::String> StringArray;
protected:
ListWidget *_list;
ButtonWidget *_chooseButton;
@@ -47,7 +47,7 @@ protected:
public:
ChooserDialog(const String &title, String dialogId = "Browser");
- void setList(const StringList& list);
+ void setList(const StringArray& list);
virtual void handleCommand(CommandSender *sender, uint32 cmd, uint32 data);
};