Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

fileservlet.h

00001 // -*- c++ -*-
00002 
00003 #ifndef FILESERVLET_H
00004 #define FILESERVLET_H
00005 
00006 #include <qhttpservlet.h>
00007 
00013 class FileServlet : public QHttpServlet
00014 {
00015 public: 
00016     FileServlet( QServletConfig *cfg );
00017     ~FileServlet();
00018 
00020     bool serveFile( const QString &path, QHttpServletResponse *res );
00021 
00023     bool serveDirectory( const QString &path, QHttpServletResponse *res );
00024 
00025 protected:
00026     virtual bool doGet( QHttpServletRequest *req, QHttpServletResponse *res );
00027 };
00028 
00029 #endif
00030 
00031 // Local Variables:
00032 // c-basic-offset: 3
00033 // End:

Generated on Wed Apr 9 23:50:21 2003 for QXServlet by doxygen1.2.17