| 2 | #include ".\procctrl.h" |
| 3 | |
| 4 | CProcCtrl::CProcCtrl(void) |
| 5 | { |
| 6 | char logfile[MAX_PATH], *ptr; |
| 7 | |
| 8 | acl_proctl_daemon_path(m_exePath, sizeof(m_exePath)); |
| 9 | ptr = strrchr(m_exePath, '\\'); |
| 10 | if (ptr == NULL) |
| 11 | ptr = strrchr(m_exePath, '/'); |
| 12 | |
| 13 | if (ptr == NULL) |
| 14 | ptr = m_exePath; |
| 15 | else |
| 16 | ptr++; |
| 17 | |
| 18 | snprintf(logfile, sizeof(logfile), "%s/JawsCtrl.log", m_exePath); |
| 19 | acl_msg_open(logfile, "daemon"); |
| 20 | acl_debug_init("all:2"); |
| 21 | } |
| 22 | |
| 23 | CProcCtrl::~CProcCtrl(void) |
| 24 | { |
nothing calls this directly
no test coverage detected