2
0
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:
John Preston
2017-02-28 13:51:00 +03:00
parent ae08a2f697
commit 6f0cf30b12
44 changed files with 209 additions and 3434 deletions

View File

@@ -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();
}
}