returns the string which is used for display
| 81 | |
| 82 | /// returns the string which is used for display |
| 83 | tstring CFirewallType::AsDisplayString() const |
| 84 | { |
| 85 | switch( m_enFirewallType ) |
| 86 | { |
| 87 | case ftNone: return _T("no firewall"); |
| 88 | case ftSiteHostName: return _T("SITE hostname"); |
| 89 | case ftUserAfterLogon: return _T("USER after logon"); |
| 90 | case ftProxyOpen: return _T("proxy OPEN"); |
| 91 | case ftTransparent: return _T("Transparent"); |
| 92 | case ftUserWithNoLogon: return _T("USER with no logon"); |
| 93 | case ftUserFireIDatRemotehost: return _T("USER fireID@remotehost"); |
| 94 | case ftUserRemoteIDatRemoteHostFireID: return _T("USER remoteID@remotehost fireID"); |
| 95 | case ftUserRemoteIDatFireIDatRemoteHost: return _T("USER remoteID@fireID@remotehost"); |
| 96 | } |
| 97 | ASSERT( false ); |
| 98 | return _T(""); |
| 99 | } |
| 100 | |
| 101 | /// return the string which is used for storage (e.g. in an XML- or INI-file) |
| 102 | tstring CFirewallType::AsStorageString() const |
nothing calls this directly
no outgoing calls
no test coverage detected