| 1278 | } |
| 1279 | |
| 1280 | void CMainFrame::AddLogSource(const SourceInfo& info) |
| 1281 | { |
| 1282 | switch (info.type) |
| 1283 | { |
| 1284 | case SourceType::DebugViewAgent: |
| 1285 | m_logSources.AddDbgviewReader(Str(info.address)); |
| 1286 | break; |
| 1287 | case SourceType::Udp: |
| 1288 | m_logSources.AddUDPReader(info.port); |
| 1289 | break; |
| 1290 | case SourceType::Tcp: |
| 1291 | throw std::exception("SourceType::Tcp not implememted"); |
| 1292 | default: |
| 1293 | // do nothing |
| 1294 | throw std::exception("SourceType not implememted"); |
| 1295 | } |
| 1296 | } |
| 1297 | |
| 1298 | void CMainFrame::CloseView(int i) |
| 1299 | { |
nothing calls this directly
no test coverage detected