| 37 | } |
| 38 | |
| 39 | void ChannelManager::SetDefaultDir(const char* dir) { |
| 40 | if (dir != nullptr) { |
| 41 | dir_ = dir; |
| 42 | if (dir[dir_.length() - 1] != '/') dir_ += '/'; |
| 43 | } |
| 44 | } |
| 45 | |
| 46 | Channel* ChannelManager::GetInstance(const std::string& channel) { |
| 47 | // find the channel |
no outgoing calls
no test coverage detected