src/model.cpp

changeset 3
55a55a9ec2c2
child 8
44679e468ba9
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/model.cpp	Sun Sep 22 11:51:41 2019 +0300
@@ -0,0 +1,17 @@
+#include "model.h"
+#include "modeleditcontext.h"
+
+Model::Model()
+{
+
+}
+
+int Model::size() const
+{
+	return this->body.size();
+}
+
+Model::EditContext Model::edit()
+{
+	return {*this};
+}

mercurial