summaryrefslogtreecommitdiff
path: root/noncore/settings/networksettings2/opietooth2/OTDriver.h
Side-by-side diff
Diffstat (limited to 'noncore/settings/networksettings2/opietooth2/OTDriver.h') (more/less context) (show whitespace changes)
-rw-r--r--noncore/settings/networksettings2/opietooth2/OTDriver.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/settings/networksettings2/opietooth2/OTDriver.h b/noncore/settings/networksettings2/opietooth2/OTDriver.h
index b54ffdf..899fab4 100644
--- a/noncore/settings/networksettings2/opietooth2/OTDriver.h
+++ b/noncore/settings/networksettings2/opietooth2/OTDriver.h
@@ -1,39 +1,39 @@
/***************************************************************************
* Copyright (C) 2003 by Mattia Merzi *
* ottobit@ferrara.linux.it *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
***************************************************************************/
#ifndef OTDRIVER_H
#define OTDRIVER_H
/*
- * This class handles the connection with the BlueZ libraries, implements
+ * This class handles the networkSetup with the BlueZ libraries, implements
* most of the bluetooth-related functions and owns the KBTDevice class
* that is a single local bluetooth device representation.
* It is used as a Singleton pattern thru the getDefaultConnector() method.
*
*/
#include <qobject.h>
#include <opie2/odebug.h>
#include <bluezlib.h>
#include <OTDeviceAddress.h>
namespace Opietooth2 {
class OTGateway;
class OTHCISocket;
class OTDeviceAddress;
class OTPeer;
/*
* This is the representation of a
* Bluetooth device for the local
* machine.
*/
class OTDriver : public QObject {
@@ -97,49 +97,49 @@ public:
{ return IsUp; }
// get current state
// return 1 if UP, 0 if DOWN, -1 if ERROR
int currentState();
/*
* Returns the name of the device. If the device is
* down, the device id is returned.
*/
QString name();
int devId() const
{ return Dev_id; };
/*
* Returns the string representation of the device id,
* with the same format of the hciconfig tool.
*/
QString devname()
{ return Dev; };
/*
* Returns the file descriptor for the local
- * connection to this device
+ * networkSetup to this device
*/
int fd() const
{ return Fd; };
void setfd(int _fd)
{ Fd = _fd; };
void setType(int _type)
{ Type = _type; };
int type() const
{ return Type; };
QString strType();
int iscan() const
{ return Iscan; }
void setIScan(int _iscan)
{ Iscan = _iscan; }
int pscan() const
{ return Pscan; }
void setPScan(int _pscan)
{ Pscan = _pscan; }
int authentication() const
{ return Auth; }