networkinterface.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
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
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
This file is part of the documentation for OPIE Version 1.5.5.