| 221 | } |
| 222 | |
| 223 | void MountPointManager::get_mount_points(vector<wstring>& mps, function<bool(const wchar_t *)> filter) const |
| 224 | { |
| 225 | for (auto it = m_tdatas.begin(); it != m_tdatas.end(); ++it) { |
| 226 | if (filter) { |
| 227 | if (filter(it->first.c_str())) { |
| 228 | mps.push_back(it->first); |
| 229 | } |
| 230 | } else { |
| 231 | mps.push_back(it->first); |
| 232 | } |
| 233 | } |
| 234 | } |
| 235 | |
| 236 | void MountPointManager::apply(function<bool(const wchar_t*mountpoint, CryptThreadData*tdata)> f) |
| 237 | { |