mirror of
https://github.com/uroni/urbackup_backend.git
synced 2025-10-26 11:36:50 +00:00
20 lines
374 B
C++
20 lines
374 B
C++
#include "../Interface/Thread.h"
|
|
#include "../Interface/Object.h"
|
|
|
|
#include <string>
|
|
|
|
class IPipe;
|
|
|
|
class CHTTPFile : public IThread, public IObject
|
|
{
|
|
public:
|
|
CHTTPFile(std::string pFilename, IPipe *pOutput);
|
|
std::string getContentType(void);
|
|
std::string getIndexFiles(void);
|
|
void operator()(void);
|
|
|
|
private:
|
|
std::string filename;
|
|
IPipe *output;
|
|
};
|