| 70 | } |
| 71 | |
| 72 | NotepadNextApplication::NotepadNextApplication(int &argc, char **argv) |
| 73 | : SingleApplication(argc, argv, true, opts) |
| 74 | { |
| 75 | #ifdef Q_OS_WIN |
| 76 | // Create a system-wide mutex so the installer can detect if it is running |
| 77 | CreateMutex(NULL, false, L"NotepadNextMutex"); |
| 78 | #endif |
| 79 | parseCommandLine(parser, arguments()); |
| 80 | |
| 81 | DebugManager::manageDebugOutput(); |
| 82 | DebugManager::pauseDebugOutput(); |
| 83 | } |
| 84 | |
| 85 | bool NotepadNextApplication::init() |
| 86 | { |
nothing calls this directly
no test coverage detected