| 122 | } |
| 123 | |
| 124 | static bool create_master_udp(file_tmpl& tmpl) |
| 125 | { |
| 126 | string file(tmpl.get_project_name()); |
| 127 | file << ".cf"; |
| 128 | if (!tmpl.copy_and_replace("master_udp.cf", file.c_str())) { |
| 129 | return false; |
| 130 | } |
| 131 | |
| 132 | const char* name = "master_udp"; |
| 133 | const FILE_FROM_TO tab[] = { |
| 134 | { "main_udp.cpp", "main.cpp" }, |
| 135 | { "master_udp.h", "master_service.h" }, |
| 136 | { "master_udp.cpp", "master_service.cpp" }, |
| 137 | { NULL, NULL } |
| 138 | }; |
| 139 | |
| 140 | return tmpl.files_copy(name, tab); |
| 141 | } |
| 142 | |
| 143 | void master_creator(const char* name, const char* type) |
| 144 | { |
no test coverage detected
searching dependent graphs…