summaryrefslogtreecommitdiffstats
path: root/tests/auto/restart/server/mytestserver.h
blob: 25ae3f076b18003f7c60cc6544f1134c75705499 (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
// Copyright (C) 2019 Ford Motor Company
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only

#ifndef MYTESTSERVER_H
#define MYTESTSERVER_H

#include <QTimer>

#include <QtRemoteObjects/qremoteobjectnode.h>
#include <QtRemoteObjects/qremoteobjectsource.h>

#include "rep_subclass_source.h"

class MyTestServer : public ParentClassSimpleSource
{
    Q_OBJECT

public:
    MyTestServer(QObject *parent = nullptr);
    ~MyTestServer() override;

public Q_SLOTS:
    bool start() override;
    bool quit() override;

Q_SIGNALS:
    void quitApp();
};

#endif // MYTESTSERVER_H