mirror of
https://github.com/WinDurango/WinDurango.git
synced 2026-04-29 22:10:12 -05:00
07e5a6de1e
- 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.
18 lines
802 B
C++
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);
|
|
}
|
|
}
|