mirror of
https://github.com/telegramdesktop/tdesktop
synced 2024-12-25 16:02:52 +00:00
34 lines
917 B
C++
34 lines
917 B
C++
/*
|
|
This file is part of Telegram Desktop,
|
|
the official desktop application for the Telegram messaging service.
|
|
|
|
For license and copyright information please follow this link:
|
|
https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
|
*/
|
|
#pragma once
|
|
|
|
#include "window/notifications_manager.h"
|
|
|
|
namespace Platform {
|
|
namespace Notifications {
|
|
|
|
bool SkipAudio();
|
|
bool SkipToast();
|
|
|
|
bool Supported();
|
|
std::unique_ptr<Window::Notifications::Manager> Create(Window::Notifications::System *system);
|
|
void FlashBounce();
|
|
|
|
} // namespace Notifications
|
|
} // namespace Platform
|
|
|
|
// Platform dependent implementations.
|
|
|
|
#ifdef Q_OS_MAC
|
|
#include "platform/mac/notifications_manager_mac.h"
|
|
#elif defined Q_OS_LINUX // Q_OS_MAC
|
|
#include "platform/linux/notifications_manager_linux.h"
|
|
#elif defined Q_OS_WIN // Q_OS_MAC || Q_OS_LINUX
|
|
#include "platform/win/notifications_manager_win.h"
|
|
#endif // Q_OS_MAC || Q_OS_LINUX || Q_OS_WIN
|