@@ -131,11 +131,11 @@ namespace TasofroPl
131
131
class StoryText : public AText
132
132
{
133
133
protected:
134
- void _patchInit (std::list<ALine*>& file, std::list<ALine*>::iterator& file_it);
135
- bool parseCommand (json_t *patch, int json_line_num);
136
- void beginLine (std::list<ALine*>& file, const std::list<ALine*>::iterator& it);
137
- void _patchLine (std::string& text, std::list<ALine*>& file, const std::list<ALine*>::iterator& it);
138
- void _patchExit (std::list<ALine*>& file, std::list<ALine*>::iterator& file_it);
134
+ void _patchInit (std::list<ALine*>& file, std::list<ALine*>::iterator& file_it) override ;
135
+ bool parseCommand (json_t *patch, size_t json_line_num) override ;
136
+ void beginLine (std::list<ALine*>& file, const std::list<ALine*>::iterator& it) override ;
137
+ void _patchLine (std::string& text, std::list<ALine*>& file, const std::list<ALine*>::iterator& it) override ;
138
+ void _patchExit (std::list<ALine*>& file, std::list<ALine*>::iterator& file_it) override ;
139
139
140
140
public:
141
141
StoryText (const std::vector<std::string>& fields, const std::string& comment = " " );
@@ -145,9 +145,9 @@ namespace TasofroPl
145
145
class Th155StoryText : public StoryText
146
146
{
147
147
protected:
148
- bool parseCommand (json_t *patch, int json_line_num);
149
- void _patchLine (std::string& text, std::list<ALine*>& file, const std::list<ALine*>::iterator& it);
150
- void _patchExit (std::list<ALine*>& file, std::list<ALine*>::iterator& file_it);
148
+ bool parseCommand (json_t *patch, size_t json_line_num) override ;
149
+ void _patchLine (std::string& text, std::list<ALine*>& file, const std::list<ALine*>::iterator& it) override ;
150
+ void _patchExit (std::list<ALine*>& file, std::list<ALine*>::iterator& file_it) override ;
151
151
152
152
public:
153
153
Th155StoryText (const std::vector<std::string>& fields, const std::string& comment = " " );
@@ -157,7 +157,7 @@ namespace TasofroPl
157
157
class Th155_110StoryText : public Th155StoryText
158
158
{
159
159
protected:
160
- void beginLine (std::list<ALine*>& file, const std::list<ALine*>::iterator& it);
160
+ void beginLine (std::list<ALine*>& file, const std::list<ALine*>::iterator& it) override ;
161
161
162
162
public:
163
163
Th155_110StoryText (const std::vector<std::string>& fields, const std::string& comment = " " );
@@ -170,11 +170,11 @@ namespace TasofroPl
170
170
bool is_staffroll;
171
171
172
172
protected:
173
- void _patchInit (std::list<ALine*>& file, std::list<ALine*>::iterator& file_it);
174
- void beginLine (std::list<ALine*>& file, const std::list<ALine*>::iterator& it);
175
- void _patchLine (std::string& text, std::list<ALine*>& file, const std::list<ALine*>::iterator& it);
176
- void endLine ();
177
- void _patchExit (std::list<ALine*>& file, std::list<ALine*>::iterator& file_it);
173
+ void _patchInit (std::list<ALine*>& file, std::list<ALine*>::iterator& file_it) override ;
174
+ void beginLine (std::list<ALine*>& file, const std::list<ALine*>::iterator& it) override ;
175
+ void _patchLine (std::string& text, std::list<ALine*>& file, const std::list<ALine*>::iterator& it) override ;
176
+ void endLine () override ;
177
+ void _patchExit (std::list<ALine*>& file, std::list<ALine*>::iterator& file_it) override ;
178
178
179
179
public:
180
180
EndingText (const std::vector<std::string>& fields, const std::string& comment = " " );
@@ -184,9 +184,9 @@ namespace TasofroPl
184
184
class WinText : public AText
185
185
{
186
186
protected:
187
- void _patchInit (std::list<ALine*>& file, std::list<ALine*>::iterator& file_it);
188
- void beginLine (std::list<ALine*>& file, const std::list<ALine*>::iterator& it);
189
- void _patchLine (std::string& text, std::list<ALine*>& file, const std::list<ALine*>::iterator& it);
187
+ void _patchInit (std::list<ALine*>& file, std::list<ALine*>::iterator& file_it) override ;
188
+ void beginLine (std::list<ALine*>& file, const std::list<ALine*>::iterator& it) override ;
189
+ void _patchLine (std::string& text, std::list<ALine*>& file, const std::list<ALine*>::iterator& it) override ;
190
190
191
191
public:
192
192
WinText (const std::vector<std::string>& fields, const std::string& comment = " " );
0 commit comments