summaryrefslogtreecommitdiffstatshomepage
path: root/src/frontend/mame/ui/slotopt.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontend/mame/ui/slotopt.h')
-rw-r--r--src/frontend/mame/ui/slotopt.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/src/frontend/mame/ui/slotopt.h b/src/frontend/mame/ui/slotopt.h
new file mode 100644
index 00000000000..8d7c4ab6b18
--- /dev/null
+++ b/src/frontend/mame/ui/slotopt.h
@@ -0,0 +1,35 @@
+// license:BSD-3-Clause
+// copyright-holders:Nicola Salmoria, Aaron Giles, Nathan Woods
+/***************************************************************************
+
+ ui/slotopt.h
+
+ Internal menu for the slot options.
+
+***************************************************************************/
+
+#pragma once
+
+#ifndef __UI_SLOTOPT_H__
+#define __UI_SLOTOPT_H__
+
+//#include "drivenum.h"
+
+class ui_menu_slot_devices : public ui_menu {
+public:
+ ui_menu_slot_devices(running_machine &machine, render_container *container);
+ virtual ~ui_menu_slot_devices();
+ virtual void populate() override;
+ virtual void handle() override;
+
+private:
+ device_slot_option *slot_get_current_option(device_slot_interface &slot);
+ int slot_get_current_index(device_slot_interface &slot);
+ int slot_get_length(device_slot_interface &slot);
+ const char *slot_get_next(device_slot_interface &slot);
+ const char *slot_get_prev(device_slot_interface &slot);
+ const char *slot_get_option(device_slot_interface &slot, int index);
+ void set_slot_device(device_slot_interface &slot, const char *val);
+};
+
+#endif /* __UI_SLOTOPT_H__ */