kio Library API Documentation

kpac_impl.h

00001 /*
00002  *  $Id: kpac_impl.h,v 1.8.4.1 2003/05/17 11:19:24 mueller Exp $
00003  *  Proxy Auto Configuration
00004  *  
00005  *  Copyright (C) 2000 Malte Starostik <malte@kde.org>
00006  *
00007  *  This library is free software; you can redistribute it and/or
00008  *  modify it under the terms of the GNU Library General Public
00009  *  License as published by the Free Software Foundation; either
00010  *  version 2 of the License, or (at your option) any later version.
00011  *
00012  *  This library is distributed in the hope that it will be useful,
00013  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00014  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00015  *  Library General Public License for more details.
00016  *
00017  *  You should have received a copy of the GNU Library General Public License
00018  *  along with this library; see the file COPYING.LIB.  If not, write to
00019  *  the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
00020  *  Boston, MA 02111-1307, USA.
00021  */
00022 
00023 #ifndef _KPAC_IMPL_H_
00024 #define _KPAC_IMPL_H_
00025 
00026 #include <kio/kpac.h>
00027 
00028 class KURL;
00029 class KPACDownloader;
00030 
00031 namespace KJS {
00032   class Interpreter;
00033 }
00034 
00035 class KPACImpl : public KPAC
00036 {
00037 public:
00038     KPACImpl();
00039     virtual ~KPACImpl();
00040     virtual QString proxyForURL(const KURL &url);
00041     virtual bool init(const KURL &url);
00042     virtual bool discover();
00043     virtual void badProxy(const QString &proxy);
00044 
00045 private:
00046     KJS::Interpreter *m_interpreter;
00047     bool m_configRead;
00048     bool m_inDiscovery;
00049     KPACDownloader *m_downloader;
00050 };
00051 
00052 #endif
00053 
KDE Logo
This file is part of the documentation for kdelibs Version 3.1.5.
Documentation copyright © 1996-2002 the KDE developers.
Generated on Wed Jan 28 13:13:56 2004 by doxygen 1.3.4 written by Dimitri van Heesch, © 1997-2001