summaryrefslogtreecommitdiff
path: root/library/networkinterface.h
Unidiff
Diffstat (limited to 'library/networkinterface.h') (more/less context) (show whitespace changes)
-rw-r--r--library/networkinterface.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/networkinterface.h b/library/networkinterface.h
index d2ca5ab..bda2119 100644
--- a/library/networkinterface.h
+++ b/library/networkinterface.h
@@ -1,52 +1,52 @@
1/********************************************************************** 1/**********************************************************************
2** Copyright (C) 2000 Trolltech AS. All rights reserved. 2** Copyright (C) 2000-2002 Trolltech AS. All rights reserved.
3** 3**
4** This file is part of Qtopia Environment. 4** This file is part of the Qtopia Environment.
5** 5**
6** This file may be distributed and/or modified under the terms of the 6** This file may be distributed and/or modified under the terms of the
7** GNU General Public License version 2 as published by the Free Software 7** GNU General Public License version 2 as published by the Free Software
8** Foundation and appearing in the file LICENSE.GPL included in the 8** Foundation and appearing in the file LICENSE.GPL included in the
9** packaging of this file. 9** packaging of this file.
10** 10**
11** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 11** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
12** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 12** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
13** 13**
14** See http://www.trolltech.com/gpl/ for GPL licensing information. 14** See http://www.trolltech.com/gpl/ for GPL licensing information.
15** 15**
16** Contact info@trolltech.com if any conditions of this licensing are 16** Contact info@trolltech.com if any conditions of this licensing are
17** not clear to you. 17** not clear to you.
18** 18**
19**********************************************************************/ 19**********************************************************************/
20#ifndef NETWORKINTERFACE_H 20#ifndef NETWORKINTERFACE_H
21#define NETWORKINTERFACE_H 21#define NETWORKINTERFACE_H
22 22
23#include <qnamespace.h> 23#include <qnamespace.h>
24#include <qstring.h> 24#include <qstring.h>
25#include <qpe/qcom.h> 25#include <qpe/qcom.h>
26 26
27#ifndef QT_NO_COMPONENT 27#ifndef QT_NO_COMPONENT
28// {09794290-69d5-4c42-8a53-230cf2e53c50} 28// {09794290-69d5-4c42-8a53-230cf2e53c50}
29# ifndef IID_Network 29# ifndef IID_Network
30# define IID_Network QUuid( 0x09794290, 0x69d5, 0x4c42, 0x8a, 0x53, 0x23, 0x0c, 0xf2, 0xe5, 0x3c, 0x50) 30# define IID_Network QUuid( 0x09794290, 0x69d5, 0x4c42, 0x8a, 0x53, 0x23, 0x0c, 0xf2, 0xe5, 0x3c, 0x50)
31# endif 31# endif
32#endif 32#endif
33 33
34class QWidget; 34class QWidget;
35class Config; 35class Config;
36 36
37struct NetworkInterface : public QUnknownInterface 37struct NetworkInterface : public QUnknownInterface
38{ 38{
39 virtual bool doProperties( QWidget *parent, Config& ) = 0; 39 virtual bool doProperties( QWidget *parent, Config& ) = 0;
40 virtual bool create( Config& ) = 0; 40 virtual bool create( Config& ) = 0;
41 virtual bool remove( Config& ) = 0; 41 virtual bool remove( Config& ) = 0;
42 virtual QString device( Config& ) const; 42 virtual QString device( Config& ) const;
43 virtual QString cardType( Config& ) const; 43 virtual QString cardType( Config& ) const;
44 virtual bool isActive( Config& ) const; 44 virtual bool isActive( Config& ) const;
45 virtual bool isAvailable( Config& ) const; 45 virtual bool isAvailable( Config& ) const;
46 virtual bool start( Config& ) = 0; 46 virtual bool start( Config& ) = 0;
47 virtual bool start( Config&, const QString& password ); 47 virtual bool start( Config&, const QString& password );
48 virtual bool stop( Config& ) = 0; 48 virtual bool stop( Config& ) = 0;
49 virtual bool needPassword( Config& ) const; 49 virtual bool needPassword( Config& ) const;
50 virtual QWidget* addStateWidget( QWidget* parent, Config& ) const; 50 virtual QWidget* addStateWidget( QWidget* parent, Config& ) const;
51}; 51};
52 52