aboutsummaryrefslogtreecommitdiff
path: root/winlib/SDL2-2.0.10/x86_64-w64-mingw32/include/SDL2/SDL_power.h
diff options
context:
space:
mode:
authorJefferson González <jgmdev@gmail.com>2025-07-31 06:58:28 -0700
committerGitHub <noreply@github.com>2025-07-31 09:58:28 -0400
commite2127ae4643c7a37fa03ff2dd8e26c71c4c6762b (patch)
tree6ba509b094f00f05f3025bfaad981c0c2a95325b /winlib/SDL2-2.0.10/x86_64-w64-mingw32/include/SDL2/SDL_power.h
parent5eae7ef9de5571dca33eeb1a2f57c6d487cbb4cc (diff)
downloadpragtical-SDL2.tar.gz
pragtical-SDL2.zip
Add common.open_in_system(resource) function (#321)SDL2
* Add common.open_in_system(resource) function This functionality was fragmented thru the source code as in EmptyView, Settings and TreeView providing their own code to open links, files and directories using the system launcher. Also various plugins on the plugins repo provide their own way. With this PR they can be adapted to use this function instead of duplicating the functionality. Besides providing a built-in mechanism of opening resources with the operating system launcher, it also adds supports for other operating systems: * Amiga * Haiku * SerenityOS Also the function should provide a central location for supporting other systems if the need arises. * Changes to code with walkero-gr guidance Better handle AmigaOS since the Amiga port properly sets the PLATFORM variable, also, properly handle URL's and directories. On MorphOS the open command is available so use that.
Diffstat (limited to 'winlib/SDL2-2.0.10/x86_64-w64-mingw32/include/SDL2/SDL_power.h')
0 files changed, 0 insertions, 0 deletions