| 133 | } |
| 134 | |
| 135 | bool CParameterVnc::OnCheckValidity() |
| 136 | { |
| 137 | if(GetIce()) |
| 138 | { |
| 139 | if(GetSignalServer().isEmpty() || GetSignalPort() <= 0 |
| 140 | || GetSignalUser().isEmpty() || GetSignalPassword().isEmpty() |
| 141 | || GetStunServer().isEmpty() || GetStunPort() <= 0) |
| 142 | return false; |
| 143 | return true; |
| 144 | } |
| 145 | |
| 146 | if(m_Net.GetHost().isEmpty() |
| 147 | || m_Net.GetPort() <= 0 |
| 148 | || m_Net.m_User.GetPassword().isEmpty()) |
| 149 | return false; |
| 150 | return true; |
| 151 | } |
| 152 | |
| 153 | bool CParameterVnc::GetShared() const |
| 154 | { |
nothing calls this directly
no test coverage detected