| 192 | |
| 193 | |
| 194 | class HtmlLink |
| 195 | { |
| 196 | public: |
| 197 | HtmlLink(const TEXT* prefix, const SLONG value) |
| 198 | { |
| 199 | if (sw_html_format && value && prefix) |
| 200 | sprintf(strBuffer, "<a href=\"#%s%" SLONGFORMAT"\">%6" SLONGFORMAT"</a>", prefix, value, value); |
| 201 | else |
| 202 | sprintf(strBuffer, "%6" SLONGFORMAT, value); |
| 203 | } |
| 204 | operator const TEXT*() |
| 205 | { |
| 206 | return strBuffer; |
| 207 | } |
| 208 | private: |
| 209 | TEXT strBuffer[256]; |
| 210 | HtmlLink(const HtmlLink&) {} |
| 211 | }; |
| 212 | |
| 213 | |
| 214 | static const TEXT history_names[][10] = |
no outgoing calls
no test coverage detected