summaryrefslogtreecommitdiffstats
path: root/templatelayout.cpp
diff options
context:
space:
mode:
authorGravatar Gehad elrobey <gehadelrobey@gmail.com>2015-08-21 19:00:46 +0200
committerGravatar Lubomir I. Ivanov <neolit123@gmail.com>2015-08-22 18:34:48 +0300
commit70e8862efc7189342ee9c016e85054538b4d7b99 (patch)
treed674b42d4acdedb5254d9967a3541f41034ae867 /templatelayout.cpp
parent6a692495c024876d74145df8b67734323ec348b6 (diff)
downloadsubsurface-70e8862efc7189342ee9c016e85054538b4d7b99.tar.gz
Printing: export a statistics data structure to the Grantlee backend
Add a YearInfo class which represents a year statistics. Export the class to the Grantlee backend, also export all it's members to the printing backend. Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com>
Diffstat (limited to 'templatelayout.cpp')
-rw-r--r--templatelayout.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/templatelayout.cpp b/templatelayout.cpp
index 2da048266..9245befbe 100644
--- a/templatelayout.cpp
+++ b/templatelayout.cpp
@@ -316,3 +316,13 @@ void Dive::put_sac()
m_sac = QString::number(value, 'f', decimal).append(unit);
}
}
+
+YearInfo::YearInfo()
+{
+
+}
+
+YearInfo::~YearInfo()
+{
+
+}