mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-10 04:43:26 +00:00
GUI: Made few functions purely virtual
This commit is contained in:
parent
ccc871e73e
commit
696de1ea79
@ -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
|
||||
void LauncherDialog::addChooserButtons() {
|
||||
if (_listButton) {
|
||||
|
@ -113,9 +113,9 @@ protected:
|
||||
* Fill the list widget with all currently configured targets, and trigger
|
||||
* a redraw.
|
||||
*/
|
||||
virtual void updateListing();
|
||||
virtual void updateListing() = 0;
|
||||
|
||||
virtual void updateButtons();
|
||||
virtual void updateButtons() = 0;
|
||||
|
||||
virtual void build();
|
||||
void clean();
|
||||
@ -155,9 +155,9 @@ protected:
|
||||
*
|
||||
* @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:
|
||||
|
||||
bool checkModifier(int modifier);
|
||||
|
Loading…
x
Reference in New Issue
Block a user