aboutsummaryrefslogtreecommitdiff
path: root/qtmips_machine/registers.h
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2017-12-17 13:31:25 +0100
committerKarel Kočí <cynerd@email.cz>2017-12-17 13:31:25 +0100
commite0c757926743ee21f1a60b4b6948ca3eb895c373 (patch)
treed2acad9475849d5abed15cdd4b6bf3b8d9030f06 /qtmips_machine/registers.h
parent7fa050ddefca5373b09bdbcbb3aa0902eacd5d2f (diff)
downloadqtmips-e0c757926743ee21f1a60b4b6948ca3eb895c373.tar.gz
qtmips-e0c757926743ee21f1a60b4b6948ca3eb895c373.tar.bz2
qtmips-e0c757926743ee21f1a60b4b6948ca3eb895c373.zip
Put qtmips_machine to machine namespace
Diffstat (limited to 'qtmips_machine/registers.h')
-rw-r--r--qtmips_machine/registers.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/qtmips_machine/registers.h b/qtmips_machine/registers.h
index 4a693db..fa3e304 100644
--- a/qtmips_machine/registers.h
+++ b/qtmips_machine/registers.h
@@ -4,6 +4,8 @@
#include <QObject>
#include <cstdint>
+namespace machine {
+
class Registers : public QObject {
Q_OBJECT
public:
@@ -35,6 +37,8 @@ private:
std::uint32_t pc; // program counter
};
-Q_DECLARE_METATYPE(Registers)
+}
+
+Q_DECLARE_METATYPE(machine::Registers)
#endif // REGISTERS_H