# kio Library API Documentation

Overview | Class Hierarchy | Classes | Classes (annotated) | Members | Source Files

# kpac.h

    00001 /*
    00002  *  $Id: kpac.h,v 1.12 2002/06/19 17:46:01 domi 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_H_
    00024 #define _KPAC_H_
    00025
    00026 class KURL;
    00027 class QString;
    00028
    00032 class KPAC
    00033 {
    00034 public:
    00035     virtual ~KPAC();
    00040     virtual QString proxyForURL(const KURL &url) = 0;
    00045     virtual bool init(const KURL &url) = 0;
    00049     virtual bool discover() = 0;
    00056     virtual void badProxy(const QString &proxy) = 0;
    00057 protected:
    00058     virtual void virtual_hook( int id, void* data );
    00059 };
    00060
    00061 #endif
    00062

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:53 2004 by doxygen 1.3.4 written by Dimitri van Heesch, © 1997-2001