mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Some platform-dependent modules refactoring.
Now each platform-dependent module declares its interface in platform/platform_module.h file and after that includes platform- specific headers like platform/win/module_win.h with implementation. Also removed the legacy WinRT platform-dependent implementations.
This commit is contained in:
@@ -2015,7 +2015,7 @@ namespace {
|
||||
dependent->dependencyItemRemoved(item);
|
||||
}
|
||||
}
|
||||
if (auto manager = Window::Notifications::manager()) {
|
||||
if (auto manager = Window::Notifications::GetManager()) {
|
||||
manager->clearFromItem(item);
|
||||
}
|
||||
if (Global::started() && !App::quitting()) {
|
||||
@@ -2434,7 +2434,7 @@ namespace {
|
||||
}
|
||||
|
||||
void playSound() {
|
||||
if (Global::SoundNotify() && !Platform::Notifications::skipAudio()) {
|
||||
if (Global::SoundNotify() && !Platform::Notifications::SkipAudio()) {
|
||||
Media::Player::PlayNotify();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user