Mercurial > foo_out_sdl
comparison foosdk/sdk/foobar2000/SDK/link_resolver.cpp @ 1:20d02a178406 default tip
*: check in everything else
yay
| author | Paper <paper@tflc.us> |
|---|---|
| date | Mon, 05 Jan 2026 02:15:46 -0500 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 0:e9bb126753e7 | 1:20d02a178406 |
|---|---|
| 1 #include "foobar2000-sdk-pch.h" | |
| 2 #include "link_resolver.h" | |
| 3 | |
| 4 bool link_resolver::g_find(service_ptr_t<link_resolver> & p_out,const char * p_path) | |
| 5 { | |
| 6 const auto ext = pfc::string_extension(p_path); | |
| 7 for (auto ptr : enumerate()) { | |
| 8 if (ptr->is_our_path(p_path,ext)) { | |
| 9 p_out = ptr; | |
| 10 return true; | |
| 11 } | |
| 12 } | |
| 13 return false; | |
| 14 } |
