| 44 | } |
| 45 | |
| 46 | static bool create_master_proc(file_tmpl& tmpl) |
| 47 | { |
| 48 | string file(tmpl.get_project_name()); |
| 49 | file << ".cf"; |
| 50 | if (!tmpl.copy_and_replace("master_proc.cf", file.c_str())) { |
| 51 | return false; |
| 52 | } |
| 53 | |
| 54 | const char* name = "master_proc"; |
| 55 | const FILE_FROM_TO tab[] = { |
| 56 | { "main_proc.cpp", "main.cpp" }, |
| 57 | { "master_proc.h", "master_service.h" }, |
| 58 | { "master_proc.cpp", "master_service.cpp" }, |
| 59 | { NULL, NULL } |
| 60 | }; |
| 61 | |
| 62 | return tmpl.files_copy(name, tab); |
| 63 | } |
| 64 | |
| 65 | static bool create_master_aio(file_tmpl& tmpl) |
| 66 | { |
no test coverage detected
searching dependent graphs…