summaryrefslogtreecommitdiff
path: root/noncore/settings/networksettings2/usb
authorwimpie <wimpie>2004-04-10 13:06:13 (UTC)
committer wimpie <wimpie>2004-04-10 13:06:13 (UTC)
commitdb9f0e2a7fd93157d95f421534fcc3015abe53e0 (patch) (unidiff)
tree001918ca18d0d74f3e49597f766c070bea71e25c /noncore/settings/networksettings2/usb
parent6bcdc8cd41199dce849b800b4296011faf6281df (diff)
downloadopie-db9f0e2a7fd93157d95f421534fcc3015abe53e0.zip
opie-db9f0e2a7fd93157d95f421534fcc3015abe53e0.tar.gz
opie-db9f0e2a7fd93157d95f421534fcc3015abe53e0.tar.bz2
*** empty log message ***
Diffstat (limited to 'noncore/settings/networksettings2/usb') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/networksettings2/usb/usbrun.cpp2
-rw-r--r--noncore/settings/networksettings2/usb/usbrun.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/noncore/settings/networksettings2/usb/usbrun.cpp b/noncore/settings/networksettings2/usb/usbrun.cpp
index 4ce6721..beacd7b 100644
--- a/noncore/settings/networksettings2/usb/usbrun.cpp
+++ b/noncore/settings/networksettings2/usb/usbrun.cpp
@@ -72,13 +72,13 @@ void USBRun::detectState( NodeCollection * NC ) {
72 // no free found 72 // no free found
73 fprintf( stderr, "UNA\n" ); 73 fprintf( stderr, "UNA\n" );
74 74
75 NC->setCurrentState( Unavailable ); 75 NC->setCurrentState( Unavailable );
76} 76}
77 77
78bool USBRun::setState( NodeCollection * NC, Action_t A ) { 78bool USBRun::setState( NodeCollection * NC, Action_t A, bool ) {
79 79
80 // we only handle activate and deactivate 80 // we only handle activate and deactivate
81 switch( A ) { 81 switch( A ) {
82 case Activate : 82 case Activate :
83 { 83 {
84 if( NC->currentState() != Off ) { 84 if( NC->currentState() != Off ) {
diff --git a/noncore/settings/networksettings2/usb/usbrun.h b/noncore/settings/networksettings2/usb/usbrun.h
index 6c6e4e4..03e21ab 100644
--- a/noncore/settings/networksettings2/usb/usbrun.h
+++ b/noncore/settings/networksettings2/usb/usbrun.h
@@ -20,13 +20,13 @@ public :
20 20
21 virtual AsDevice * asDevice( void ) 21 virtual AsDevice * asDevice( void )
22 { return (AsDevice *)this; } 22 { return (AsDevice *)this; }
23protected : 23protected :
24 24
25 void detectState( NodeCollection * ); 25 void detectState( NodeCollection * );
26 bool setState( NodeCollection * , Action_t A ); 26 bool setState( NodeCollection * , Action_t A, bool );
27 bool canSetState( State_t , Action_t A ); 27 bool canSetState( State_t , Action_t A );
28 28
29 bool handlesInterface( const QString & I ); 29 bool handlesInterface( const QString & I );
30 30
31private : 31private :
32 32