~george-edison55/jethttp/jethttp-singlethread

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
//=================================================
//
//             JetHTTP - CFileOutput.h
//           Copyright 2011 - Nathan Osman
//     This file is released under the GPL v3
//
//=================================================

#ifndef CFILEOUTPUT_H
#define CFILEOUTPUT_H

// JetHTTP includes
#include <COutput.h>

class CFileOutput : public COutput
{

public:

    // Processes the actual request
    void ProcessRequest(QString, QString, CHeaderManager &);

    // Utility function to get the MIME type
    QString GetMIMEType(QString);
};

#endif // CFILEOUTPUT_H