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

Function create_master_trigger

app/wizard/master_creator.cpp:105–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103}
104
105static bool create_master_trigger(file_tmpl& tmpl)
106{
107 string file(tmpl.get_project_name());
108 file << ".cf";
109 if (!tmpl.copy_and_replace("master_trigger.cf", file.c_str())) {
110 return false;
111 }
112
113 const char* name = "master_trigger";
114 const FILE_FROM_TO tab[] = {
115 { "main_trigger.cpp", "main.cpp" },
116 { "master_trigger.h", "master_service.h" },
117 { "master_trigger.cpp", "master_service.cpp" },
118 { NULL, NULL }
119 };
120
121 return tmpl.files_copy(name, tab);
122}
123
124static bool create_master_udp(file_tmpl& tmpl)
125{

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…