mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-08-04 12:58:41 +00:00
pass over help menu; typeof in eval
This commit is contained in:
@@ -492,3 +492,9 @@ os_show_in_filesystem_ui(String8 path)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
internal void
|
||||
os_open_in_browser(String8 url)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
@@ -192,5 +192,6 @@ internal void os_graphical_message(B32 error, String8 title, String8 m
|
||||
//~ rjf: @os_hooks Shell Operations
|
||||
|
||||
internal void os_show_in_filesystem_ui(String8 path);
|
||||
internal void os_open_in_browser(String8 url);
|
||||
|
||||
#endif // OS_GFX_H
|
||||
|
||||
@@ -238,3 +238,8 @@ internal void
|
||||
os_show_in_filesystem_ui(String8 path)
|
||||
{
|
||||
}
|
||||
|
||||
internal void
|
||||
os_open_in_browser(String8 url)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -1542,3 +1542,12 @@ os_show_in_filesystem_ui(String8 path)
|
||||
}
|
||||
scratch_end(scratch);
|
||||
}
|
||||
|
||||
internal void
|
||||
os_open_in_browser(String8 url)
|
||||
{
|
||||
Temp scratch = scratch_begin(0, 0);
|
||||
String16 url16 = str16_from_8(scratch.arena, url);
|
||||
ShellExecuteW(0, L"open", (WCHAR *)url16.str, 0, 0, SW_SHOWNORMAL);
|
||||
scratch_end(scratch);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user