mirror of
https://github.com/WinDurango/WinDurango.git
synced 2026-01-09 21:00:13 -06:00
This commit introduces a new `Logger` class to replace all instances of `printf` and `DEBUG_LOG` throughout the codebase. Key changes include: - Replaced logging calls in `Audio2.cpp` and `appmodel.cpp` with structured log levels (`LOG_WARNING`, `LOG_DEBUG`, etc.). - Removed `DebugLogger.h` and `Logger.cpp`, consolidating logging functionality into `Logger.h`. - Added `Config.h` for configuration management using TOML files. - Updated project files to reflect the removal of old logging files and inclusion of the new logging system. These changes enhance logging capabilities, improve code maintainability, and standardize logging practices across the codebase.
57 lines
2.5 KiB
C++
57 lines
2.5 KiB
C++
#include "pch.h"
|
|
#include "Windows.Xbox.Input.NavigationController.h"
|
|
#include "Windows.Xbox.Input.NavigationController.g.cpp"
|
|
|
|
|
|
namespace winrt::Windows::Xbox::Input::implementation
|
|
{
|
|
winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Xbox::Input::INavigationController> NavigationController::NavigationControllers()
|
|
{
|
|
LOG_NOT_IMPLEMENTED(); throw hresult_not_implemented();
|
|
}
|
|
winrt::event_token NavigationController::NavigationControllerAdded(winrt::Windows::Foundation::EventHandler<winrt::Windows::Xbox::Input::NavigationControllerAddedEventArgs> const& handler)
|
|
{
|
|
LOG_NOT_IMPLEMENTED(); throw hresult_not_implemented();
|
|
}
|
|
void NavigationController::NavigationControllerAdded(winrt::event_token const& token) noexcept
|
|
{
|
|
LOG_NOT_IMPLEMENTED(); throw hresult_not_implemented();
|
|
}
|
|
winrt::event_token NavigationController::NavigationControllerRemoved(winrt::Windows::Foundation::EventHandler<winrt::Windows::Xbox::Input::NavigationControllerRemovedEventArgs> const& handler)
|
|
{
|
|
LOG_NOT_IMPLEMENTED(); throw hresult_not_implemented();
|
|
}
|
|
void NavigationController::NavigationControllerRemoved(winrt::event_token const& token) noexcept
|
|
{
|
|
LOG_NOT_IMPLEMENTED(); throw hresult_not_implemented();
|
|
}
|
|
uint64_t NavigationController::Id()
|
|
{
|
|
LOG_NOT_IMPLEMENTED(); throw hresult_not_implemented();
|
|
}
|
|
hstring NavigationController::Type()
|
|
{
|
|
LOG_NOT_IMPLEMENTED(); throw hresult_not_implemented();
|
|
}
|
|
winrt::Windows::Xbox::System::User NavigationController::User()
|
|
{
|
|
LOG_NOT_IMPLEMENTED(); throw hresult_not_implemented();
|
|
}
|
|
winrt::Windows::Xbox::Input::INavigationReading NavigationController::GetNavigationReading()
|
|
{
|
|
LOG_NOT_IMPLEMENTED(); throw hresult_not_implemented();
|
|
}
|
|
winrt::Windows::Xbox::Input::RawNavigationReading NavigationController::GetRawNavigationReading()
|
|
{
|
|
LOG_NOT_IMPLEMENTED(); throw hresult_not_implemented();
|
|
}
|
|
winrt::event_token NavigationController::NavigationReadingChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Xbox::Input::NavigationController, winrt::Windows::Xbox::Input::INavigationReadingChangedEventArgs> const& handler)
|
|
{
|
|
LOG_NOT_IMPLEMENTED(); throw hresult_not_implemented();
|
|
}
|
|
void NavigationController::NavigationReadingChanged(winrt::event_token const& token) noexcept
|
|
{
|
|
LOG_NOT_IMPLEMENTED(); throw hresult_not_implemented();
|
|
}
|
|
}
|