Qtopia library API Documentation

networkinterface.h

00001 /**********************************************************************
00002 ** Copyright (C) 2000-2002 Trolltech AS.  All rights reserved.
00003 **
00004 ** This file is part of the Qtopia Environment.
00005 **
00006 ** This file may be distributed and/or modified under the terms of the
00007 ** GNU General Public License version 2 as published by the Free Software
00008 ** Foundation and appearing in the file LICENSE.GPL included in the
00009 ** packaging of this file.
00010 **
00011 ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
00012 ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
00013 **
00014 ** See http://www.trolltech.com/gpl/ for GPL licensing information.
00015 **
00016 ** Contact info@trolltech.com if any conditions of this licensing are
00017 ** not clear to you.
00018 **
00019 **********************************************************************/
00020 #ifndef NETWORKINTERFACE_H
00021 #define NETWORKINTERFACE_H
00022 
00023 #include <qnamespace.h>
00024 #include <qstring.h>
00025 #include <qpe/qcom.h>
00026 
00027 #ifndef QT_NO_COMPONENT
00028 // {09794290-69d5-4c42-8a53-230cf2e53c50}
00029 # ifndef IID_Network
00030 #  define IID_Network QUuid( 0x09794290, 0x69d5, 0x4c42, 0x8a, 0x53, 0x23, 0x0c, 0xf2, 0xe5, 0x3c, 0x50)
00031 # endif
00032 #endif
00033 
00034 class QWidget;
00035 class Config;
00036 
00037 struct NetworkInterface : public QUnknownInterface
00038 {
00039     virtual bool doProperties( QWidget *parent, Config& ) = 0;
00040     virtual bool create( Config& ) = 0;
00041     virtual bool remove( Config& ) = 0;
00042     virtual QString device( Config& ) const;
00043     virtual QString cardType( Config& ) const;
00044     virtual bool isActive( Config& ) const;
00045     virtual bool isAvailable( Config& ) const;
00046     virtual bool start( Config& ) = 0;
00047     virtual bool start( Config&, const QString& password );
00048     virtual bool stop( Config& ) = 0;
00049     virtual bool needPassword( Config& ) const;
00050     virtual QWidget* addStateWidget( QWidget* parent, Config& ) const;
00051 };
00052 
00053 #endif
00054 
KDE Logo
This file is part of the documentation for OPIE Version 1.5.5.
Documentation copyright © 1997-2003 the KDE developers. 2003 OPIE developers
Generated on Tue Feb 10 20:24:06 2004 by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2001