| 63 | } |
| 64 | |
| 65 | static bool create_master_aio(file_tmpl& tmpl) |
| 66 | { |
| 67 | string file(tmpl.get_project_name()); |
| 68 | file << ".cf"; |
| 69 | if (!tmpl.copy_and_replace("master_aio.cf", file.c_str())) { |
| 70 | return false; |
| 71 | } |
| 72 | |
| 73 | const char* name = "master_aio"; |
| 74 | const FILE_FROM_TO tab[] = { |
| 75 | { "main_aio.cpp", "main.cpp" }, |
| 76 | { "master_aio.h", "master_service.h" }, |
| 77 | { "master_aio.cpp", "master_service.cpp" }, |
| 78 | { NULL, NULL } |
| 79 | }; |
| 80 | |
| 81 | return tmpl.files_copy(name, tab); |
| 82 | } |
| 83 | |
| 84 | static bool create_master_rpc(file_tmpl& tmpl) |
| 85 | { |
no test coverage detected
searching dependent graphs…