aboutsummaryrefslogtreecommitdiff
path: root/qtmips_gui/peripheralsview.h
diff options
context:
space:
mode:
Diffstat (limited to 'qtmips_gui/peripheralsview.h')
-rw-r--r--qtmips_gui/peripheralsview.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/qtmips_gui/peripheralsview.h b/qtmips_gui/peripheralsview.h
new file mode 100644
index 0000000..8aaf9b9
--- /dev/null
+++ b/qtmips_gui/peripheralsview.h
@@ -0,0 +1,26 @@
+#ifndef PERIPHERALSVIEW_H
+#define PERIPHERALSVIEW_H
+
+#include <QWidget>
+
+#include "peripspiled.h"
+
+namespace Ui {
+class PeripheralsView;
+}
+
+class PeripheralsView : public QWidget
+{
+ Q_OBJECT
+
+public:
+ explicit PeripheralsView(QWidget *parent = 0);
+ ~PeripheralsView();
+
+ void setup(const machine::PeripSpiLed *perip_spi_led);
+
+private:
+ Ui::PeripheralsView *ui;
+};
+
+#endif // PERIPHERALSVIEW_H