Files
WinDurango/dlls/winrt_x/Implementation/Windows.Xbox.Chat.ChatMuteList.cpp
T
Serenity 07e5a6de1e Implement event handling and logging improvements
- Updated `ChatMuteList` to implement `UserMuteStateChanged` methods with logging and event handling.
- Modified `UserDisplayInfo` methods to log informational messages instead of throwing exceptions.
- Introduced `m_notificationPositionHint` in `SystemUI` and updated `SetNotificationPositionHint` to log changes.
- Updated header files to declare new static members for better accessibility.
2025-06-03 06:15:14 -04:00

18 lines
802 B
C++

#include "pch.h"
#include "Windows.Xbox.Chat.ChatMuteList.h"
#include "Windows.Xbox.Chat.ChatMuteList.g.cpp"
namespace winrt::Windows::Xbox::Chat::implementation
{
winrt::event_token ChatMuteList::UserMuteStateChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Xbox::Chat::UserMuteStateChangedEventArgs> const& handler)
{
LOG_WARNING("ChatMuteList::UserMuteStateChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Xbox::Chat::UserMuteStateChangedEventArgs> const& handler) Stubbed!!");
return m_muteEvent.add(handler);
}
void ChatMuteList::UserMuteStateChanged(winrt::event_token const& token) noexcept
{
LOG_WARNING("ChatMuteList::UserMuteStateChanged(winrt::event_token const& token) Stubbed!!");
m_muteEvent.remove(token);
}
}