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

qservletconfig.h

00001 // -*- c++ -*-
00002 
00003 #ifndef QSERVLETCONFIG_H
00004 #define QSERVLETCONFIG_H
00005 
00006 #include <qmap.h>
00007 #include <qstring.h>
00008 #include <qstringlist.h>
00009 
00010 #include <qservletbase.h>
00011 
00012 class QServletContext;
00013 
00017 class QServletConfig : public QServletBase
00018 {
00019 public:
00020    QServletConfig( QServletContext *ctx );
00021    virtual ~QServletConfig();
00022 
00024    void setInitParameter( const QString &name, const QString &value );
00025    
00027    QString initParameter( const QString &name );
00028    
00030    QStringList initParameterNames();
00031 
00033    QServletContext *servletContext() const { return ctx; }
00034 
00035 private:
00036    QServletContext *ctx;
00037    QStringList names;
00038    QMap<QString,QString> params;
00039    class QServletConfigPrivate *d;
00040 };
00041 
00042 #endif // QSERVLETCONFIG_H
00043 
00044 // Local Variables:
00045 // c-basic-offset: 3
00046 // End:
00047 

Generated on Mon Mar 31 01:08:13 2003 for QXServlet by doxygen1.2.17