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)
23 lines
463 B
C++
23 lines
463 B
C++
#ifndef ERRORCONTROLLER_H
|
|
#define ERRORCONTROLLER_H
|
|
|
|
#include "httprequest.h"
|
|
#include "httpresponse.h"
|
|
#include "httprequesthandler.h"
|
|
|
|
class ErrorController : public HttpRequestHandler {
|
|
Q_OBJECT
|
|
Q_DISABLE_COPY(ErrorController);
|
|
public:
|
|
|
|
/** Constructor */
|
|
ErrorController(int errorCode);
|
|
|
|
/** Generates the response */
|
|
void service(HttpRequest& request, HttpResponse& response);
|
|
private:
|
|
int error;
|
|
};
|
|
|
|
#endif // ERRORCONTROLLER_H
|