blob: 407e5022ada65ee4d129821a8d939d4a4f7f56ed (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
// Copyright (C) 2019 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
#include <QtCore/QCoreApplication>
#include <QtDBus/QtDBus>
#include "common_defs.h"
#include "sendertodbus.h"
int main(int argc, char **argv)
{
QCoreApplication app(argc, argv);
if (!QDBusConnection::sessionBus().isConnected()) {
return 1;
}
SenderToDbus senderToDbus;
app.exec();
}
|