MCPcopy Create free account
hub / github.com/acl-dev/acl / create_master_proc

Function create_master_proc

app/wizard/master_creator.cpp:46–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44}
45
46static 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
65static bool create_master_aio(file_tmpl& tmpl)
66{

Callers 1

master_creatorFunction · 0.85

Calls 4

get_project_nameMethod · 0.80
copy_and_replaceMethod · 0.80
files_copyMethod · 0.80
c_strMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…