Files
yacreader/YACReaderLibrary/server/startup.h
Daisuke Cato a08b5f8af0 reimplementaion of fix for QColorDialog on macOS Sierra bug.
doesn't use destructor because destructor causes another crash.
2016-10-22 19:14:07 +09: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