| 125 | */ |
| 126 | template <class TBaseSet> |
| 127 | void ShowBaseSetTextfileWindow(Window *parent, TextfileType file_type, const TBaseSet *baseset, StringID content_type) |
| 128 | { |
| 129 | parent->CloseChildWindowById(WC_TEXTFILE, file_type); |
| 130 | new BaseSetTextfileWindow(parent, file_type, baseset->name, *baseset->GetTextfile(file_type), content_type); |
| 131 | } |
| 132 | |
| 133 | /** |
| 134 | * Get string to use when listing this set in the settings window. |
no test coverage detected