mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-07-27 07:52:57 +02:00
Move weak_ptr include to .cpp in linux notifications
This commit is contained in:
parent
ee00f12131
commit
68dc00be27
2 changed files with 2 additions and 4 deletions
|
@ -18,6 +18,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||||
#include "history/history.h"
|
#include "history/history.h"
|
||||||
#include "main/main_session.h"
|
#include "main/main_session.h"
|
||||||
#include "lang/lang_keys.h"
|
#include "lang/lang_keys.h"
|
||||||
|
#include "base/weak_ptr.h"
|
||||||
|
|
||||||
#include <QtCore/QVersionNumber>
|
#include <QtCore/QVersionNumber>
|
||||||
#include <QtGui/QGuiApplication>
|
#include <QtGui/QGuiApplication>
|
||||||
|
|
|
@ -8,14 +8,11 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "platform/platform_notifications_manager.h"
|
#include "platform/platform_notifications_manager.h"
|
||||||
#include "base/weak_ptr.h"
|
|
||||||
|
|
||||||
namespace Platform {
|
namespace Platform {
|
||||||
namespace Notifications {
|
namespace Notifications {
|
||||||
|
|
||||||
class Manager
|
class Manager : public Window::Notifications::NativeManager {
|
||||||
: public Window::Notifications::NativeManager
|
|
||||||
, public base::has_weak_ptr {
|
|
||||||
public:
|
public:
|
||||||
Manager(not_null<Window::Notifications::System*> system);
|
Manager(not_null<Window::Notifications::System*> system);
|
||||||
void clearNotification(NotificationId id);
|
void clearNotification(NotificationId id);
|
||||||
|
|
Loading…
Add table
Reference in a new issue