GUI: Explicitely use Common:: namespace

This commit is contained in:
Eugene Sandulenko 2021-11-10 15:56:44 +01:00
parent 45309c6e0d
commit 109beb4f86
32 changed files with 275 additions and 328 deletions

View file

@ -31,18 +31,16 @@ namespace GUI {
class SaveLoadChooserDialog;
class SaveLoadChooser {
typedef Common::String String;
typedef Common::U32String U32String;
protected:
SaveLoadChooserDialog *_impl;
const U32String _title;
const U32String _buttonLabel;
const Common::U32String _title;
const Common::U32String _buttonLabel;
const bool _saveMode;
void selectChooser(const MetaEngine *engine);
public:
SaveLoadChooser(const U32String &title, const U32String &buttonLabel, bool saveMode);
SaveLoadChooser(const Common::U32String &title, const Common::U32String &buttonLabel, bool saveMode);
~SaveLoadChooser();
/**
@ -52,7 +50,7 @@ public:
* @return The selcted save slot. -1 in case none is selected.
*/
int runModalWithCurrentTarget();
int runModalWithMetaEngineAndTarget(const MetaEngine *engine, const String &target);
int runModalWithMetaEngineAndTarget(const MetaEngine *engine, const Common::String &target);
const Common::U32String &getResultString() const;