yacreader/YACReaderLibrary/server/startup.h
2019-05-30 19:46:37 +02:00

36 lines
465 B
C++

/**
@file
@author Stefan Frings
*/
#ifndef STARTUP_H
#define STARTUP_H
#include <QString>
class HttpListener;
/**
Helper class to install and run the application as a windows
service.
*/
class Startup
{
private:
//QTcpServer
HttpListener *listener;
public:
/** Constructor */
Startup();
/** Start the server */
void start();
/** Stop the server */
void stop();
QString getPort();
protected:
};
#endif // STARTUP_H