summaryrefslogtreecommitdiffstats
path: root/src/application-main-lib/dbusnotificationimpl.h
blob: d1bec3ceaab8812db53439a41aa4507266cc7c9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// Copyright (C) 2021 The Qt Company Ltd.
// Copyright (C) 2019 Luxoft Sweden AB
// Copyright (C) 2018 Pelagicore AG
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only

#ifndef DBUSNOTIFICATIONIMPL_H
#define DBUSNOTIFICATIONIMPL_H

#include <QtAppManCommon/global.h>
#include <QtAppManSharedMain/notificationimpl.h>

QT_BEGIN_NAMESPACE_AM

class ApplicationMain;

class DBusNotificationImpl : public NotificationImpl
{
public:
    DBusNotificationImpl(Notification *notification, ApplicationMain *applicationMain);

protected:
    uint show() override;
    void close() override;

private:
    ApplicationMain *m_applicationMain;
};

QT_END_NAMESPACE_AM

#endif // DBUSNOTIFICATIONIMPL_H