| 3 | #include "master_creator.h" |
| 4 | |
| 5 | static bool create_master_threads(file_tmpl& tmpl) |
| 6 | { |
| 7 | string file(tmpl.get_project_name()); |
| 8 | file << ".cf"; |
| 9 | if (tmpl.copy_and_replace("master_threads.cf", file.c_str()) == false) |
| 10 | return false; |
| 11 | |
| 12 | const char* name = "master_threads"; |
| 13 | const FILE_FROM_TO tab[] = { |
| 14 | { "main_threads.cpp", "main.cpp" }, |
| 15 | { "master_threads.h", "master_service.h" }, |
| 16 | { "master_threads.cpp", "master_service.cpp" }, |
| 17 | { NULL, NULL } |
| 18 | }; |
| 19 | |
| 20 | return tmpl.files_copy(name, tab); |
| 21 | } |
| 22 | |
| 23 | static bool create_master_fiber(file_tmpl& tmpl) |
| 24 | { |
no test coverage detected
searching dependent graphs…