| 253 | } |
| 254 | |
| 255 | void HotkeyManager::WriteProfileData(wxConfigBase* pConfObj) { |
| 256 | pConfObj->SetPath (_T("hotKeyManager")); |
| 257 | |
| 258 | for (unsigned int i=0; i<m_HotKeys.size(); i++) { |
| 259 | HotKey* hk= m_HotKeys[i]; |
| 260 | pConfObj->Write(hk->GetName(), hk->IsEnabled()); |
| 261 | pConfObj->Write(hk->GetName() + _T("Key"), |
| 262 | static_cast<int>(hk->GetKey().get_native())); |
| 263 | } |
| 264 | |
| 265 | pConfObj->SetPath (_T("..")); |
| 266 | } |
| 267 | |
| 268 | void HotkeyManager::ReadProfileData(wxConfigBase* pConfObj) { |
| 269 | pConfObj->SetPath (_T("hotKeyManager")); |
nothing calls this directly
no test coverage detected