yacreader/YACReaderLibrary/server/startup.h
2016-03-25 11:30:31 +01:00

35 lines
472 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