File indexing completed on 2025-01-26 04:24:52

0001 /* Copyright 2013 Robert Schroll
0002  *
0003  * This file is part of Beru and is distributed under the terms of
0004  * the GPL. See the file COPYING for full details.
0005  */
0006 
0007 #ifndef FILESERVER_H
0008 #define FILESERVER_H
0009 
0010 #include <QObject>
0011 #include "qhttpresponse.h"
0012 
0013 class FileServer : public QObject
0014 {
0015     Q_OBJECT
0016 
0017 public:
0018     Q_INVOKABLE void serve(const QString &filename, QHttpResponse *response);
0019 };
0020 
0021 #endif // FILESERVER_H