File indexing completed on 2025-01-05 04:47:01

0001 /*
0002     SPDX-FileCopyrightText: 2016 Daniel Vrátil <dvratil@kde.org>
0003 
0004     SPDX-License-Identifier: LGPL-2.0-or-later
0005 */
0006 
0007 #pragma once
0008 
0009 #include <QLocalServer>
0010 
0011 namespace Akonadi
0012 {
0013 namespace Server
0014 {
0015 class AkLocalServer : public QLocalServer
0016 {
0017     Q_OBJECT
0018 public:
0019     explicit AkLocalServer(QObject *parent = nullptr);
0020 
0021 Q_SIGNALS:
0022     void newConnection(quintptr socketDescriptor);
0023 
0024 protected:
0025     void incomingConnection(quintptr socketDescriptor) override;
0026 };
0027 
0028 } // namespace Server
0029 } // namespace Akonadi