src/model.cpp

changeset 3
55a55a9ec2c2
child 8
44679e468ba9
equal deleted inserted replaced
2:2bdc3ac5e77c 3:55a55a9ec2c2
1 #include "model.h"
2 #include "modeleditcontext.h"
3
4 Model::Model()
5 {
6
7 }
8
9 int Model::size() const
10 {
11 return this->body.size();
12 }
13
14 Model::EditContext Model::edit()
15 {
16 return {*this};
17 }

mercurial