Mercurial > foo_out_sdl
comparison foosdk/sdk/foobar2000/SDK/preferences_page.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 "preferences_page.h" | |
| 3 #include "coreversion.h" | |
| 4 | |
| 5 void preferences_page::get_help_url_helper(pfc::string_base & out, const char * category, const GUID & id, const char * name) { | |
| 6 out = "https://help.foobar2000.org/"; | |
| 7 pfc::urlEncodeAppend(out, core_version_info::g_get_version_string()); | |
| 8 out << "/"; | |
| 9 pfc::urlEncodeAppend(out, category); | |
| 10 out << "/" << pfc::print_guid(id) << "/"; | |
| 11 pfc::urlEncodeAppend(out, name); | |
| 12 } | |
| 13 bool preferences_page::get_help_url(pfc::string_base & p_out) { | |
| 14 get_help_url_helper(p_out,"preferences",get_guid(), get_name()); | |
| 15 return true; | |
| 16 } | |
| 17 | |
| 18 double preferences_page::get_sort_priority_() { | |
| 19 preferences_page_v2::ptr v2; | |
| 20 if ( v2 &= this ) return v2->get_sort_priority(); | |
| 21 else return 0; | |
| 22 } |
