MCPcopy Create free account
hub / github.com/Predelnik/DSpellCheck / AsDisplayString

Method AsDisplayString

deps/FtpClient/FTPDataTypes.cpp:83–99  ·  view source on GitHub ↗

returns the string which is used for display

Source from the content-addressed store, hash-verified

81
82/// returns the string which is used for display
83tstring 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)
102tstring CFirewallType::AsStorageString() const

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected