WinRT - Better Debug

This commit is contained in:
Serenity
2025-06-03 00:54:43 -04:00
parent 212c7ab23b
commit 222cdf0a22
410 changed files with 2812 additions and 66933 deletions
@@ -53,60 +53,51 @@ namespace winrt::Windows::Xbox::System::implementation
}
winrt::Windows::Xbox::System::User User::GetUserById(uint32_t id)
{
printf("!!!! Windows.Xbox.System.User GetUserById | NOT IMPLEMENTED !!!!\n");
throw hresult_not_implemented();
Logger::NotImplemented(); throw hresult_not_implemented();
}
winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Xbox::System::GetTokenAndSignatureResult> User::GetTokenAndSignatureForAllUsersAsync(hstring httpMethod, hstring url, hstring headers)
{
printf("!!!! Windows.Xbox.System.User GetTokenAndSignatureForAllUsersAsync | NOT IMPLEMENTED !!!!\n");
throw hresult_not_implemented();
Logger::NotImplemented(); throw hresult_not_implemented();
}
winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Xbox::System::GetTokenAndSignatureResult> User::GetTokenAndSignatureForAllUsersAsync(hstring httpMethod, hstring url, hstring headers, array_view<uint8_t const> body)
{
printf("!!!! Windows.Xbox.System.User GetTokenAndSignatureForAllUsersAsync | NOT IMPLEMENTED !!!!\n");
throw hresult_not_implemented();
Logger::NotImplemented(); throw hresult_not_implemented();
}
winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Xbox::System::GetTokenAndSignatureResult> User::GetTokenAndSignatureForAllUsersAsync(hstring httpMethod, hstring url, hstring headers, hstring body)
{
printf("!!!! Windows.Xbox.System.User GetTokenAndSignatureForAllUsersAsync | NOT IMPLEMENTED !!!!\n");
throw hresult_not_implemented();
Logger::NotImplemented(); throw hresult_not_implemented();
}
winrt::event_token User::AudioDeviceAdded(winrt::Windows::Foundation::EventHandler<winrt::Windows::Xbox::System::AudioDeviceAddedEventArgs> const& handler)
{
return {};
Logger::NotImplemented(); return {};
}
void User::AudioDeviceAdded(winrt::event_token const& token) noexcept
{
return;
Logger::NotImplemented( ); return;
}
winrt::event_token User::AudioDeviceRemoved(winrt::Windows::Foundation::EventHandler<winrt::Windows::Xbox::System::AudioDeviceRemovedEventArgs> const& handler)
{
printf("!!!! Windows.Xbox.System.User AudioDeviceRemoved | NOT IMPLEMENTED !!!!\n");
return {};
Logger::NotImplemented(); return {};
}
void User::AudioDeviceRemoved(winrt::event_token const& token) noexcept
{
printf("!!!! Windows.Xbox.System.User AudioDeviceRemoved | NOT IMPLEMENTED !!!!\n");
throw hresult_not_implemented();
Logger::NotImplemented(); throw hresult_not_implemented();
}
winrt::event_token User::AudioDeviceChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Xbox::System::AudioDeviceChangedEventArgs> const& handler)
{
printf("!!!! Windows.Xbox.System.User AudioDeviceChanged | NOT IMPLEMENTED !!!!\n");
return {};
Logger::NotImplemented(); return {};
}
void User::AudioDeviceChanged(winrt::event_token const& token) noexcept
{
printf("!!!! Windows.Xbox.System.User AudioDeviceChanged | NOT IMPLEMENTED !!!!\n");
throw hresult_not_implemented();
Logger::NotImplemented(); throw hresult_not_implemented();
}
winrt::event_token User::SignInCompleted(winrt::Windows::Foundation::EventHandler<winrt::Windows::Xbox::System::SignInCompletedEventArgs> const& handler)
{
return {};
Logger::NotImplemented(); return {};
}
void User::SignInCompleted(winrt::event_token const& token) noexcept
{
printf("!!!! Windows.Xbox.System.User SignInCompleted | NOT IMPLEMENTED !!!!\n");
throw hresult_not_implemented();
Logger::NotImplemented(); throw hresult_not_implemented();
}
winrt::event_token User::SignOutStarted(winrt::Windows::Foundation::EventHandler<winrt::Windows::Xbox::System::SignOutStartedEventArgs> const& handler)
{
@@ -118,26 +109,23 @@ namespace winrt::Windows::Xbox::System::implementation
}
winrt::event_token User::SignOutCompleted(winrt::Windows::Foundation::EventHandler<winrt::Windows::Xbox::System::SignOutCompletedEventArgs> const& handler)
{
return {};
Logger::NotImplemented(); return {};
}
void User::SignOutCompleted(winrt::event_token const& token) noexcept
{
return;
Logger::NotImplemented( ); return;
}
winrt::event_token User::UserDisplayInfoChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Xbox::System::UserDisplayInfoChangedEventArgs> const& handler)
{
printf("!!!! Windows.Xbox.System.User UserDisplayInfoChanged | NOT IMPLEMENTED !!!!\n");
return {};
Logger::NotImplemented(); return {};
}
void User::UserDisplayInfoChanged(winrt::event_token const& token) noexcept
{
printf("!!!! Windows.Xbox.System.User UserDisplayInfoChanged | NOT IMPLEMENTED !!!!\n");
throw hresult_not_implemented();
Logger::NotImplemented(); throw hresult_not_implemented();
}
winrt::guid User::GetNetworkCacheIdForUsers(winrt::Windows::Foundation::Collections::IVectorView<uint32_t> const& users)
{
printf("!!!! Windows.Xbox.System.User GetNetworkCacheIdForUsers | NOT IMPLEMENTED !!!!\n");
throw hresult_not_implemented();
Logger::NotImplemented(); throw hresult_not_implemented();
}
uint32_t User::Id()
{
@@ -145,12 +133,10 @@ namespace winrt::Windows::Xbox::System::implementation
}
winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Xbox::System::IAudioDeviceInfo> User::AudioDevices()
{
printf("!!!! Windows.Xbox.System.User AudioDevices | NOT IMPLEMENTED !!!!\n");
return winrt::single_threaded_vector<System::IAudioDeviceInfo>( ).GetView( );
}
winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Xbox::Input::IController> User::Controllers()
{
printf("!!!! Windows.Xbox.System.User Controllers | NOT IMPLEMENTED !!!!\n");
return winrt::single_threaded_vector<Input::IController>( ).GetView( );
}
winrt::Windows::Xbox::System::UserDisplayInfo User::DisplayInfo()
@@ -168,37 +154,30 @@ namespace winrt::Windows::Xbox::System::implementation
}
winrt::Windows::Xbox::System::UserLocation User::Location()
{
printf("!!!! Windows.Xbox.System.User Location | NOT IMPLEMENTED !!!!\n");
throw hresult_not_implemented();
Logger::NotImplemented(); throw hresult_not_implemented();
}
winrt::Windows::Xbox::System::User User::Sponsor()
{
printf("!!!! Windows.Xbox.System.User Sponsor | NOT IMPLEMENTED !!!!\n");
return nullptr;
}
hstring User::XboxUserHash()
{
printf("!!!! Windows.Xbox.System.User XboxUserHash | NOT IMPLEMENTED-- !!!!\n");
return winrt::to_hstring(m_id);
}
hstring User::XboxUserId()
{
printf("!!!! Windows.Xbox.System.User XboxUserId | NOT IMPLEMENTED !!!!\n");
return winrt::to_hstring(m_id);
}
winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Xbox::System::GetTokenAndSignatureResult> User::GetTokenAndSignatureAsync(hstring httpMethod, hstring url, hstring headers)
{
printf("!!!! Windows.Xbox.System.User GetTokenAndSignatureAsync | NOT IMPLEMENTED !!!!\n");
throw hresult_not_implemented();
Logger::NotImplemented(); throw hresult_not_implemented();
}
winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Xbox::System::GetTokenAndSignatureResult> User::GetTokenAndSignatureAsync(hstring httpMethod, hstring url, hstring headers, array_view<uint8_t const> body)
{
printf("!!!! Windows.Xbox.System.User GetTokenAndSignatureAsync | NOT IMPLEMENTED !!!!\n");
throw hresult_not_implemented();
Logger::NotImplemented(); throw hresult_not_implemented();
}
winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Xbox::System::GetTokenAndSignatureResult> User::GetTokenAndSignatureAsync(hstring httpMethod, hstring url, hstring headers, hstring body)
{
printf("!!!! Windows.Xbox.System.User GetTokenAndSignatureAsync | NOT IMPLEMENTED !!!!\n");
throw hresult_not_implemented();
Logger::NotImplemented(); throw hresult_not_implemented();
}
}