mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Move weak_ptr include to .cpp in linux notifications
This commit is contained in:
@@ -18,6 +18,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||
#include "history/history.h"
|
||||
#include "main/main_session.h"
|
||||
#include "lang/lang_keys.h"
|
||||
#include "base/weak_ptr.h"
|
||||
|
||||
#include <QtCore/QVersionNumber>
|
||||
#include <QtGui/QGuiApplication>
|
||||
|
@@ -8,14 +8,11 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||
#pragma once
|
||||
|
||||
#include "platform/platform_notifications_manager.h"
|
||||
#include "base/weak_ptr.h"
|
||||
|
||||
namespace Platform {
|
||||
namespace Notifications {
|
||||
|
||||
class Manager
|
||||
: public Window::Notifications::NativeManager
|
||||
, public base::has_weak_ptr {
|
||||
class Manager : public Window::Notifications::NativeManager {
|
||||
public:
|
||||
Manager(not_null<Window::Notifications::System*> system);
|
||||
void clearNotification(NotificationId id);
|
||||
|
Reference in New Issue
Block a user