File: servercontroller.h

package info (click to toggle)
kuserfeedback 1.3.0-9
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 3,496 kB
  • sloc: cpp: 13,251; php: 2,192; xml: 224; yacc: 90; lex: 82; sh: 17; makefile: 8
file content (28 lines) | stat: -rw-r--r-- 451 bytes parent folder | download | duplicates (4)
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
/*
    SPDX-FileCopyrightText: 2016 Volker Krause <vkrause@kde.org>

    SPDX-License-Identifier: MIT
*/

#ifndef SERVERCONTROLLER_H
#define SERVERCONTROLLER_H

#include <QProcess>

/** Controls a local PHP test server for automatic tests. */
class ServerController
{
public:
    ServerController();
    ~ServerController();

    bool start();
    void stop();

    QUrl url() const;

private:
    QProcess m_process;
};

#endif // SERVERCONTROLLER_H