* Writes a CMD4Hash object to the config file * * @param key the key to write to * @param hash the hash to be written * * @return true on success, false otherwise. */
| 91 | * @return true on success, false otherwise. |
| 92 | */ |
| 93 | bool WriteHash(const wxString& key, const CMD4Hash& hash) |
| 94 | { |
| 95 | return wxFileConfig::Write(key, hash.IsEmpty() ? wxString("") : hash.Encode()); |
| 96 | } |
| 97 | }; |
| 98 | |
| 99 | #endif /* ECFILECONFIG_H */ |
no test coverage detected