mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-10 11:25:30 +00:00
Recreate notification manager on notification service owner change
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
/*
|
||||
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 <QtDBus/QDBusServiceWatcher>
|
||||
|
||||
namespace Platform {
|
||||
namespace internal {
|
||||
|
||||
class NotificationServiceWatcher {
|
||||
public:
|
||||
NotificationServiceWatcher();
|
||||
|
||||
private:
|
||||
QDBusServiceWatcher _dbusWatcher;
|
||||
};
|
||||
|
||||
} // namespace internal
|
||||
} // namespace Platform
|
Reference in New Issue
Block a user