SYMBIAN: Deprecate the actions system

This commit is contained in:
Cameron Cawley 2020-05-02 17:23:53 +01:00 committed by Eugene Sandulenko
parent fe2b551e2a
commit 2c1065188e
16 changed files with 88 additions and 20 deletions

View file

@ -234,9 +234,11 @@ void MainMenuDialog::load() {
close();
}
#ifdef GUI_ENABLE_KEYSDIALOG
enum {
kKeysCmd = 'KEYS'
};
#endif
namespace GUI {
@ -373,24 +375,23 @@ void ConfigDialog::apply() {
OptionsDialog::apply();
}
#ifdef GUI_ENABLE_KEYSDIALOG
void ConfigDialog::handleCommand(GUI::CommandSender *sender, uint32 cmd, uint32 data) {
switch (cmd) {
case kKeysCmd:
#ifdef GUI_ENABLE_KEYSDIALOG
//
// Create the sub dialog(s)
//
_keysDialog = new GUI::KeysDialog();
_keysDialog->runModal();
delete _keysDialog;
_keysDialog = NULL;
#endif
//
// Create the sub dialog(s)
//
_keysDialog = new GUI::KeysDialog();
_keysDialog->runModal();
delete _keysDialog;
_keysDialog = NULL;
break;
default:
GUI::OptionsDialog::handleCommand (sender, cmd, data);
}
}
#endif
ExtraGuiOptionsWidget::ExtraGuiOptionsWidget(GuiObject *containerBoss, const Common::String &name, const Common::String &domain, const ExtraGuiOptions &options) :
OptionsContainerWidget(containerBoss, name, dialogLayout(domain), false, domain),