Diffstat (limited to 'noncore/settings/networksettings2/bluetooth/bluetooth_NN.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/networksettings2/bluetooth/bluetooth_NN.cpp | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/noncore/settings/networksettings2/bluetooth/bluetooth_NN.cpp b/noncore/settings/networksettings2/bluetooth/bluetooth_NN.cpp index 91be153..47272c4 100644 --- a/noncore/settings/networksettings2/bluetooth/bluetooth_NN.cpp +++ b/noncore/settings/networksettings2/bluetooth/bluetooth_NN.cpp @@ -44,27 +44,34 @@ const char * BluetoothBNEPNetNode::provides( void ) { return "device"; } bool BluetoothBNEPNetNode::generateProperFilesFor( ANetNodeInstance * ) { return 1; } -bool BluetoothBNEPNetNode::hasDataFor( const QString & ) { - return 0; +bool BluetoothBNEPNetNode::hasDataFor( const QString & S, bool DS ) { + return DS && S == "interfaces"; } bool BluetoothBNEPNetNode::generateDataForCommonFile( SystemFile & , long , ANetNodeInstance * ) { return 1; } +bool BluetoothBNEPNetNode::generateDeviceDataForCommonFile( + SystemFile & , + long , + ANetNodeInstance * ) { + return 1; +} + // // // BLUETOOTH PAN/NAP node // // static const char * BluetoothRFCOMMNeeds[] = { 0 @@ -96,17 +103,17 @@ const char * BluetoothRFCOMMNetNode::provides( void ) { return "line"; } bool BluetoothRFCOMMNetNode::generateProperFilesFor( ANetNodeInstance * ) { return 0; } -bool BluetoothRFCOMMNetNode::hasDataFor( const QString & ) { +bool BluetoothRFCOMMNetNode::hasDataFor( const QString &, bool ) { return 0; } bool BluetoothRFCOMMNetNode::generateDataForCommonFile( SystemFile & , long, ANetNodeInstance * ) { return 0; |