mirror of
https://github.com/WinDurango/WinDurango.git
synced 2026-02-06 10:38:28 -06:00
This commit standardizes the logging mechanism by replacing calls to `Logger::NotImplemented()` with the new `LOG_NOTIMPLEMENTED()` macro across multiple files in the Microsoft Xbox Services and Kinect libraries. Function names in the debug logging macros have been updated to reflect the new naming conventions, changing `ExtractProjectName` to `RetrieveProjectName` and `ExtractFunctionName` to `RetrieveFunctionName`. Additionally, the `Logger` class has been enhanced to include structured logging capabilities with various log levels and context information for better traceability. New properties and methods have been introduced in several classes, while many implementations still remain to be completed. Overall, these changes improve maintainability and consistency in the logging framework across the Xbox development environment.
64 lines
2.7 KiB
C++
64 lines
2.7 KiB
C++
#include "pch.h"
|
|
#include "Windows.Xbox.Networking.SecureDeviceAddress.h"
|
|
#include "Windows.Xbox.Networking.SecureDeviceAddress.g.cpp"
|
|
|
|
namespace winrt::Windows::Xbox::Networking::implementation
|
|
{
|
|
SecureDeviceAddress::SecureDeviceAddress(winrt::Windows::Storage::Streams::IBuffer const& buffer)
|
|
{
|
|
LOG_NOTIMPLEMENTED(); throw hresult_not_implemented();
|
|
}
|
|
int32_t SecureDeviceAddress::CompareBuffers(winrt::Windows::Storage::Streams::IBuffer const& buffer1, winrt::Windows::Storage::Streams::IBuffer const& buffer2)
|
|
{
|
|
LOG_NOTIMPLEMENTED(); throw hresult_not_implemented();
|
|
}
|
|
int32_t SecureDeviceAddress::CompareBytes(array_view<uint8_t const> bytes1, array_view<uint8_t const> bytes2)
|
|
{
|
|
LOG_NOTIMPLEMENTED(); throw hresult_not_implemented();
|
|
}
|
|
winrt::Windows::Xbox::Networking::SecureDeviceAddress SecureDeviceAddress::FromBytes(array_view<uint8_t const> bytes)
|
|
{
|
|
LOG_NOTIMPLEMENTED(); throw hresult_not_implemented();
|
|
}
|
|
winrt::Windows::Xbox::Networking::SecureDeviceAddress SecureDeviceAddress::GetLocal()
|
|
{
|
|
LOG_NOTIMPLEMENTED(); throw hresult_not_implemented();
|
|
}
|
|
winrt::Windows::Xbox::Networking::SecureDeviceAddress SecureDeviceAddress::CreateDedicatedServerAddress(hstring const& hostnameOrAddress)
|
|
{
|
|
LOG_NOTIMPLEMENTED(); throw hresult_not_implemented();
|
|
}
|
|
winrt::Windows::Xbox::Networking::SecureDeviceAddress SecureDeviceAddress::FromBase64String(hstring const& base64String)
|
|
{
|
|
LOG_NOTIMPLEMENTED(); throw hresult_not_implemented();
|
|
}
|
|
winrt::event_token SecureDeviceAddress::BufferChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Xbox::Networking::SecureDeviceAddress, winrt::Windows::Foundation::IInspectable> const& handler)
|
|
{
|
|
LOG_NOTIMPLEMENTED(); throw hresult_not_implemented();
|
|
}
|
|
void SecureDeviceAddress::BufferChanged(winrt::event_token const& token) noexcept
|
|
{
|
|
LOG_NOTIMPLEMENTED(); throw hresult_not_implemented();
|
|
}
|
|
winrt::Windows::Storage::Streams::IBuffer SecureDeviceAddress::GetBuffer()
|
|
{
|
|
LOG_NOTIMPLEMENTED(); throw hresult_not_implemented();
|
|
}
|
|
int32_t SecureDeviceAddress::Compare(winrt::Windows::Xbox::Networking::SecureDeviceAddress const& secureDeviceAddress)
|
|
{
|
|
LOG_NOTIMPLEMENTED(); throw hresult_not_implemented();
|
|
}
|
|
hstring SecureDeviceAddress::GetBase64String()
|
|
{
|
|
LOG_NOTIMPLEMENTED(); throw hresult_not_implemented();
|
|
}
|
|
bool SecureDeviceAddress::IsLocal()
|
|
{
|
|
LOG_NOTIMPLEMENTED(); throw hresult_not_implemented();
|
|
}
|
|
winrt::Windows::Xbox::Networking::NetworkAccessType SecureDeviceAddress::NetworkAccessType()
|
|
{
|
|
LOG_NOTIMPLEMENTED(); throw hresult_not_implemented();
|
|
}
|
|
}
|