Skip to content

Commit

Permalink
lsteamclient: Convert URL in ISteamFriends::ActivateGameOverlayToWebP…
Browse files Browse the repository at this point in the history
…age().

CW-Bug-Id: #24247
  • Loading branch information
Paul Gofman committed Sep 11, 2024
1 parent ef6f558 commit c506aff
Show file tree
Hide file tree
Showing 13 changed files with 39 additions and 12 deletions.
4 changes: 3 additions & 1 deletion lsteamclient/cppISteamFriends_SteamFriends005.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,9 @@ NTSTATUS ISteamFriends_SteamFriends005_ActivateGameOverlayToWebPage( void *args
{
struct ISteamFriends_SteamFriends005_ActivateGameOverlayToWebPage_params *params = (struct ISteamFriends_SteamFriends005_ActivateGameOverlayToWebPage_params *)args;
struct u_ISteamFriends_SteamFriends005 *iface = (struct u_ISteamFriends_SteamFriends005 *)params->linux_side;
iface->ActivateGameOverlayToWebPage( params->pchURL );
char *u_pchURL = steamclient_dos_to_unix_path( params->pchURL, 1 );
iface->ActivateGameOverlayToWebPage( u_pchURL );
steamclient_free_path( u_pchURL );
return 0;
}

Expand Down
4 changes: 3 additions & 1 deletion lsteamclient/cppISteamFriends_SteamFriends006.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,9 @@ NTSTATUS ISteamFriends_SteamFriends006_ActivateGameOverlayToWebPage( void *args
{
struct ISteamFriends_SteamFriends006_ActivateGameOverlayToWebPage_params *params = (struct ISteamFriends_SteamFriends006_ActivateGameOverlayToWebPage_params *)args;
struct u_ISteamFriends_SteamFriends006 *iface = (struct u_ISteamFriends_SteamFriends006 *)params->linux_side;
iface->ActivateGameOverlayToWebPage( params->pchURL );
char *u_pchURL = steamclient_dos_to_unix_path( params->pchURL, 1 );
iface->ActivateGameOverlayToWebPage( u_pchURL );
steamclient_free_path( u_pchURL );
return 0;
}

Expand Down
4 changes: 3 additions & 1 deletion lsteamclient/cppISteamFriends_SteamFriends007.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,9 @@ NTSTATUS ISteamFriends_SteamFriends007_ActivateGameOverlayToWebPage( void *args
{
struct ISteamFriends_SteamFriends007_ActivateGameOverlayToWebPage_params *params = (struct ISteamFriends_SteamFriends007_ActivateGameOverlayToWebPage_params *)args;
struct u_ISteamFriends_SteamFriends007 *iface = (struct u_ISteamFriends_SteamFriends007 *)params->linux_side;
iface->ActivateGameOverlayToWebPage( params->pchURL );
char *u_pchURL = steamclient_dos_to_unix_path( params->pchURL, 1 );
iface->ActivateGameOverlayToWebPage( u_pchURL );
steamclient_free_path( u_pchURL );
return 0;
}

Expand Down
4 changes: 3 additions & 1 deletion lsteamclient/cppISteamFriends_SteamFriends008.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,9 @@ NTSTATUS ISteamFriends_SteamFriends008_ActivateGameOverlayToWebPage( void *args
{
struct ISteamFriends_SteamFriends008_ActivateGameOverlayToWebPage_params *params = (struct ISteamFriends_SteamFriends008_ActivateGameOverlayToWebPage_params *)args;
struct u_ISteamFriends_SteamFriends008 *iface = (struct u_ISteamFriends_SteamFriends008 *)params->linux_side;
iface->ActivateGameOverlayToWebPage( params->pchURL );
char *u_pchURL = steamclient_dos_to_unix_path( params->pchURL, 1 );
iface->ActivateGameOverlayToWebPage( u_pchURL );
steamclient_free_path( u_pchURL );
return 0;
}

Expand Down
4 changes: 3 additions & 1 deletion lsteamclient/cppISteamFriends_SteamFriends009.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,9 @@ NTSTATUS ISteamFriends_SteamFriends009_ActivateGameOverlayToWebPage( void *args
{
struct ISteamFriends_SteamFriends009_ActivateGameOverlayToWebPage_params *params = (struct ISteamFriends_SteamFriends009_ActivateGameOverlayToWebPage_params *)args;
struct u_ISteamFriends_SteamFriends009 *iface = (struct u_ISteamFriends_SteamFriends009 *)params->linux_side;
iface->ActivateGameOverlayToWebPage( params->pchURL );
char *u_pchURL = steamclient_dos_to_unix_path( params->pchURL, 1 );
iface->ActivateGameOverlayToWebPage( u_pchURL );
steamclient_free_path( u_pchURL );
return 0;
}

Expand Down
4 changes: 3 additions & 1 deletion lsteamclient/cppISteamFriends_SteamFriends010.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,9 @@ NTSTATUS ISteamFriends_SteamFriends010_ActivateGameOverlayToWebPage( void *args
{
struct ISteamFriends_SteamFriends010_ActivateGameOverlayToWebPage_params *params = (struct ISteamFriends_SteamFriends010_ActivateGameOverlayToWebPage_params *)args;
struct u_ISteamFriends_SteamFriends010 *iface = (struct u_ISteamFriends_SteamFriends010 *)params->linux_side;
iface->ActivateGameOverlayToWebPage( params->pchURL );
char *u_pchURL = steamclient_dos_to_unix_path( params->pchURL, 1 );
iface->ActivateGameOverlayToWebPage( u_pchURL );
steamclient_free_path( u_pchURL );
return 0;
}

Expand Down
4 changes: 3 additions & 1 deletion lsteamclient/cppISteamFriends_SteamFriends011.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,9 @@ NTSTATUS ISteamFriends_SteamFriends011_ActivateGameOverlayToWebPage( void *args
{
struct ISteamFriends_SteamFriends011_ActivateGameOverlayToWebPage_params *params = (struct ISteamFriends_SteamFriends011_ActivateGameOverlayToWebPage_params *)args;
struct u_ISteamFriends_SteamFriends011 *iface = (struct u_ISteamFriends_SteamFriends011 *)params->linux_side;
iface->ActivateGameOverlayToWebPage( params->pchURL );
char *u_pchURL = steamclient_dos_to_unix_path( params->pchURL, 1 );
iface->ActivateGameOverlayToWebPage( u_pchURL );
steamclient_free_path( u_pchURL );
return 0;
}

Expand Down
4 changes: 3 additions & 1 deletion lsteamclient/cppISteamFriends_SteamFriends012.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,9 @@ NTSTATUS ISteamFriends_SteamFriends012_ActivateGameOverlayToWebPage( void *args
{
struct ISteamFriends_SteamFriends012_ActivateGameOverlayToWebPage_params *params = (struct ISteamFriends_SteamFriends012_ActivateGameOverlayToWebPage_params *)args;
struct u_ISteamFriends_SteamFriends012 *iface = (struct u_ISteamFriends_SteamFriends012 *)params->linux_side;
iface->ActivateGameOverlayToWebPage( params->pchURL );
char *u_pchURL = steamclient_dos_to_unix_path( params->pchURL, 1 );
iface->ActivateGameOverlayToWebPage( u_pchURL );
steamclient_free_path( u_pchURL );
return 0;
}

Expand Down
4 changes: 3 additions & 1 deletion lsteamclient/cppISteamFriends_SteamFriends013.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,9 @@ NTSTATUS ISteamFriends_SteamFriends013_ActivateGameOverlayToWebPage( void *args
{
struct ISteamFriends_SteamFriends013_ActivateGameOverlayToWebPage_params *params = (struct ISteamFriends_SteamFriends013_ActivateGameOverlayToWebPage_params *)args;
struct u_ISteamFriends_SteamFriends013 *iface = (struct u_ISteamFriends_SteamFriends013 *)params->linux_side;
iface->ActivateGameOverlayToWebPage( params->pchURL );
char *u_pchURL = steamclient_dos_to_unix_path( params->pchURL, 1 );
iface->ActivateGameOverlayToWebPage( u_pchURL );
steamclient_free_path( u_pchURL );
return 0;
}

Expand Down
4 changes: 3 additions & 1 deletion lsteamclient/cppISteamFriends_SteamFriends014.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,9 @@ NTSTATUS ISteamFriends_SteamFriends014_ActivateGameOverlayToWebPage( void *args
{
struct ISteamFriends_SteamFriends014_ActivateGameOverlayToWebPage_params *params = (struct ISteamFriends_SteamFriends014_ActivateGameOverlayToWebPage_params *)args;
struct u_ISteamFriends_SteamFriends014 *iface = (struct u_ISteamFriends_SteamFriends014 *)params->linux_side;
iface->ActivateGameOverlayToWebPage( params->pchURL );
char *u_pchURL = steamclient_dos_to_unix_path( params->pchURL, 1 );
iface->ActivateGameOverlayToWebPage( u_pchURL );
steamclient_free_path( u_pchURL );
return 0;
}

Expand Down
4 changes: 3 additions & 1 deletion lsteamclient/cppISteamFriends_SteamFriends015.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,9 @@ NTSTATUS ISteamFriends_SteamFriends015_ActivateGameOverlayToWebPage( void *args
{
struct ISteamFriends_SteamFriends015_ActivateGameOverlayToWebPage_params *params = (struct ISteamFriends_SteamFriends015_ActivateGameOverlayToWebPage_params *)args;
struct u_ISteamFriends_SteamFriends015 *iface = (struct u_ISteamFriends_SteamFriends015 *)params->linux_side;
iface->ActivateGameOverlayToWebPage( params->pchURL );
char *u_pchURL = steamclient_dos_to_unix_path( params->pchURL, 1 );
iface->ActivateGameOverlayToWebPage( u_pchURL );
steamclient_free_path( u_pchURL );
return 0;
}

Expand Down
4 changes: 3 additions & 1 deletion lsteamclient/cppISteamFriends_SteamFriends017.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,9 @@ NTSTATUS ISteamFriends_SteamFriends017_ActivateGameOverlayToWebPage( void *args
{
struct ISteamFriends_SteamFriends017_ActivateGameOverlayToWebPage_params *params = (struct ISteamFriends_SteamFriends017_ActivateGameOverlayToWebPage_params *)args;
struct u_ISteamFriends_SteamFriends017 *iface = (struct u_ISteamFriends_SteamFriends017 *)params->linux_side;
iface->ActivateGameOverlayToWebPage( params->pchURL, params->eMode );
char *u_pchURL = steamclient_dos_to_unix_path( params->pchURL, 1 );
iface->ActivateGameOverlayToWebPage( u_pchURL, params->eMode );
steamclient_free_path( u_pchURL );
return 0;
}

Expand Down
3 changes: 3 additions & 0 deletions lsteamclient/gen_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,9 @@ def is_manual_method(klass, method, abi):
"ISteamInput_SetInputActionManifestFilePath": {
"pchInputActionManifestAbsolutePath": {"array": False, "url": False},
},
"ISteamFriends_ActivateGameOverlayToWebPage": {
"pchURL": {"array": False, "url": True},
},
}

PATH_CONV_STRUCTS = {
Expand Down

0 comments on commit c506aff

Please sign in to comment.