From 3dcf21babe03cee5080a25e787e1d7e72124288e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 22 Sep 2012 01:34:49 +0300 Subject: Add final keyword to most classes. --- src/textcommand.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/textcommand.h') diff --git a/src/textcommand.h b/src/textcommand.h index f9b44253b..2b188941a 100644 --- a/src/textcommand.h +++ b/src/textcommand.h @@ -25,6 +25,8 @@ #include +#include "localconsts.h" + const unsigned int MAGIC_START_ID = 340; class Image; @@ -55,7 +57,7 @@ enum TextCommandType /** * Represents one or more instances of a certain item type. */ -class TextCommand +class TextCommand final { public: /** -- cgit v1.2.3-70-g09d2