mirror of
https://github.com/YACReader/yacreader
synced 2025-07-23 15:35:03 -04:00
fixed comiplation in Linux (Ubuntu)
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)
This commit is contained in:
34
YACReaderLibrary/server/startup.h
Normal file
34
YACReaderLibrary/server/startup.h
Normal file
@ -0,0 +1,34 @@
|
||||
/**
|
||||
@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
|
Reference in New Issue
Block a user