src/linetypes/metacommand.h

changeset 14
20d2ed3af73d
parent 13
6e838748867b
child 35
98906a94732f
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/linetypes/metacommand.h	Sun Nov 03 18:13:38 2019 +0200
@@ -0,0 +1,20 @@
+#pragma once
+#include "object.h"
+
+namespace linetypes
+{
+	class MetaCommand;
+}
+class linetypes::MetaCommand : public Object
+{
+public:
+	MetaCommand() = default;
+	MetaCommand(QStringView text);
+	QVariant getProperty(Property property) const override;
+	SetPropertyResult setProperty(
+		Property property,
+		const QVariant& value) override;
+	QString textRepresentation() const override;
+private:
+	QString storedText = "";
+};

mercurial