summaryrefslogtreecommitdiffstats
path: root/src/frontend/mame/ui/filecreate.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontend/mame/ui/filecreate.h')
-rw-r--r--src/frontend/mame/ui/filecreate.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/frontend/mame/ui/filecreate.h b/src/frontend/mame/ui/filecreate.h
index a97b4f53ef5..5d9dc597b0d 100644
--- a/src/frontend/mame/ui/filecreate.h
+++ b/src/frontend/mame/ui/filecreate.h
@@ -14,6 +14,7 @@
#pragma once
#include "ui/menu.h"
+#include "imagedev/floppy.h"
class floppy_image_format_t;
@@ -77,6 +78,24 @@ private:
int * m_result;
};
+// ======================> menu_select_floppy_init
+
+class menu_select_floppy_init : public menu
+{
+public:
+ menu_select_floppy_init(mame_ui_manager &mui, render_container &container,
+ const std::vector<floppy_image_device::fs_info> &fs, int *result);
+ virtual ~menu_select_floppy_init() override;
+
+private:
+ virtual void populate(float &customtop, float &custombottom) override;
+ virtual void handle() override;
+
+ // internal state
+ const std::vector<floppy_image_device::fs_info> &m_fs;
+ int * m_result;
+};
+
} // namespace ui