GUI: Made few functions purely virtual

This commit is contained in:
av-dx 2021-07-02 21:40:33 +05:30 committed by Eugene Sandulenko
parent ccc871e73e
commit 696de1ea79
2 changed files with 4 additions and 9 deletions

View File

@ -414,11 +414,6 @@ void LauncherDialog::handleCommand(CommandSender *sender, uint32 cmd, uint32 dat
} }
} }
void LauncherDialog::updateListing() {}
void LauncherDialog::updateButtons() {}
void LauncherDialog::selectTarget(const Common::String &target) {}
int LauncherDialog::getSelected() { return 0; }
#ifndef DISABLE_LAUNCHERDISPLAY_GRID #ifndef DISABLE_LAUNCHERDISPLAY_GRID
void LauncherDialog::addChooserButtons() { void LauncherDialog::addChooserButtons() {
if (_listButton) { if (_listButton) {

View File

@ -113,9 +113,9 @@ protected:
* Fill the list widget with all currently configured targets, and trigger * Fill the list widget with all currently configured targets, and trigger
* a redraw. * a redraw.
*/ */
virtual void updateListing(); virtual void updateListing() = 0;
virtual void updateButtons(); virtual void updateButtons() = 0;
virtual void build(); virtual void build();
void clean(); void clean();
@ -155,9 +155,9 @@ protected:
* *
* @target name of target to select * @target name of target to select
*/ */
virtual void selectTarget(const String &target); virtual void selectTarget(const String &target) = 0;
virtual int getSelected(); virtual int getSelected() = 0;
private: private:
bool checkModifier(int modifier); bool checkModifier(int modifier);