mirror of
https://github.com/YACReader/yacreader
synced 2025-06-04 01:28:55 -04:00
line 117: #define _WIN64 1 must be removed in ./compressed_archive/libp7zip/CPP/myWindows/StdAfx.h "cannot find -lpulse" compiling under Qt 5.0.2 can be fixed creating a symbolic link from libpulse.so.0 to libpulse.so (further research is needed)
35 lines
472 B
C++
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
|