* Remove unneeded files
* Make all but DialupAddOn add-ons build. Not that usefull though, as Services, Dummy and Multi add-ons are totally useless. Status/Overview add-on show interface status, allow to change their configuration like NetworkStatus replicant does. But it doesn't watch (yet) for interface/link status change notifications. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33161 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
1720217701
commit
7fecee2ccb
@ -1,4 +1,4 @@
|
||||
SubDir OBOS_TOP src tests kits net preflet DialUpAddOn ;
|
||||
SubDir HAIKU_TOP src tests kits net preflet DialUpAddOn ;
|
||||
|
||||
# set some additional defines
|
||||
{
|
||||
@ -15,18 +15,18 @@ SubDir OBOS_TOP src tests kits net preflet DialUpAddOn ;
|
||||
|
||||
UsePrivateHeaders net ;
|
||||
# For NetworkSetupAddOn.h, to be moved to private once...
|
||||
UseHeaders [ FDirName $(OBOS_TOP) src tests kits net preflet ] ;
|
||||
UseHeaders [ FDirName $(HAIKU_TOP) src tests kits net preflet ] ;
|
||||
|
||||
UseHeaders [ FDirName $(OBOS_TOP) src add-ons kernel network ppp shared libppp headers ] ;
|
||||
UseHeaders [ FDirName $(OBOS_TOP) src add-ons kernel network ppp shared libkernelppp headers ] ;
|
||||
UseHeaders [ FDirName $(HAIKU_TOP) src add-ons kernel network ppp shared libppp headers ] ;
|
||||
UseHeaders [ FDirName $(HAIKU_TOP) src add-ons kernel network ppp shared libkernelppp headers ] ;
|
||||
|
||||
# additonal headers for built-in add-ons:
|
||||
UseHeaders [ FDirName $(OBOS_TOP) src add-ons kernel network ppp pppoe ] ; # PPPoE
|
||||
UseHeaders [ FDirName $(OBOS_TOP) src add-ons kernel network ppp ipcp ] ; # IPCP
|
||||
UseHeaders [ FDirName $(HAIKU_TOP) src add-ons kernel network ppp pppoe ] ; # PPPoE
|
||||
UseHeaders [ FDirName $(HAIKU_TOP) src add-ons kernel network ppp ipcp ] ; # IPCP
|
||||
|
||||
AddResources DialUp : DialUpPreflet.rdef ;
|
||||
|
||||
Addon DialUp : network_setup :
|
||||
Addon DialUp :
|
||||
AddOn.cpp
|
||||
DialUpView.cpp
|
||||
|
||||
|
Binary file not shown.
@ -1 +0,0 @@
|
||||
../NetworkSetup
|
@ -1,26 +1,15 @@
|
||||
SubDir HAIKU_TOP src tests kits net preflet ;
|
||||
|
||||
SimpleTest Network_Setup :
|
||||
SimpleTest NetworkSetup :
|
||||
NetworkSetup.cpp
|
||||
NetworkSetupWindow.cpp
|
||||
NetworkSetupProfile.cpp
|
||||
NetworkSetupAddOn.cpp
|
||||
: be root
|
||||
: be root $(TARGET_LIBSTDC++)
|
||||
;
|
||||
|
||||
{
|
||||
# symlink the userland add-ons dir to the dir where the net_stack_tester lives
|
||||
local dir = [ on Network\_Setup return $(LOCATE) ] ;
|
||||
MakeLocate <network_setup-add-ons>network_setup : $(HAIKU_ADDON_DIR) ;
|
||||
MakeLocate <network_setup-add-ons>add-ons : $(dir) ;
|
||||
RelSymLink <network_setup-add-ons>add-ons : <network_setup-add-ons>network_setup : false ;
|
||||
|
||||
# alias for the stack_tester the modules link against
|
||||
LOCATE on <installed>Network_Setup = $(dir) ;
|
||||
Depends <installed>Network_Setup : Network_Setup ;
|
||||
}
|
||||
|
||||
|
||||
# SubInclude HAIKU_TOP src tests kits net preflet StatusAddOn ;
|
||||
# SubInclude HAIKU_TOP src tests kits net preflet ServicesAddOn ;
|
||||
SubInclude HAIKU_TOP src tests kits net preflet StatusAddOn ;
|
||||
SubInclude HAIKU_TOP src tests kits net preflet ServicesAddOn ;
|
||||
SubInclude HAIKU_TOP src tests kits net preflet DummyAddOn ;
|
||||
SubInclude HAIKU_TOP src tests kits net preflet MultipleAddOns ;
|
||||
# SubInclude HAIKU_TOP src tests kits net preflet DialUpAddOn ;
|
||||
|
Binary file not shown.
@ -1 +0,0 @@
|
||||
../NetworkSetup
|
Binary file not shown.
Binary file not shown.
@ -2,9 +2,8 @@ SubDir HAIKU_TOP src tests kits net preflet ServicesAddOn ;
|
||||
|
||||
UseHeaders [ FDirName $(HAIKU_TOP) src tests kits net preflet ] ;
|
||||
|
||||
Addon Services : network_setup :
|
||||
Addon Services :
|
||||
ServicesAddOn.cpp
|
||||
: be <nogrist>NetworkSetup $(TARGET_LIBSTDC++) # $(HAIKU_NETWORK_LIBS)
|
||||
;
|
||||
|
||||
LinkSharedOSLibs Services : <installed>Network_Setup be ;
|
||||
|
||||
|
@ -1 +0,0 @@
|
||||
../NetworkSetup
|
@ -115,7 +115,7 @@ InterfaceStatusItem::DrawItem(BView* owner, BRect /*bounds*/, bool complete)
|
||||
if (fSetting->GetAutoConfigure())
|
||||
owner->DrawString("DHCP enabled", commentPt);
|
||||
else
|
||||
owner->DrawString("DHCP Disabled, use static IP adress", commentPt);
|
||||
owner->DrawString("DHCP disabled, use static IP adress", commentPt);
|
||||
|
||||
|
||||
} else
|
||||
|
@ -1,11 +1,18 @@
|
||||
SubDir HAIKU_TOP src tests kits net preflet StatusAddOn ;
|
||||
|
||||
UseHeaders [ FDirName $(HAIKU_TOP) src tests kits net preflet ] ;
|
||||
UseHeaders [ FDirName $(HAIKU_TOP) src servers net ] : true ;
|
||||
|
||||
Addon Overview : network_setup :
|
||||
UsePrivateHeaders shared ;
|
||||
|
||||
Addon Overview :
|
||||
NetworkStatusAddOn.cpp
|
||||
InterfaceStatusItem.cpp
|
||||
Setting.cpp
|
||||
NetworkWindow.cpp
|
||||
EthernetSettingsView.cpp
|
||||
|
||||
: be <nogrist>NetworkSetup $(HAIKU_NETWORK_LIBS) $(TARGET_LIBSTDC++)
|
||||
;
|
||||
|
||||
LinkSharedOSLibs Overview : be ;
|
||||
AddResources Overview : Resource.rsrc ;
|
||||
|
||||
|
@ -159,6 +159,7 @@ NetworkStatusAddOn::MessageReceived(BMessage* msg)
|
||||
break;
|
||||
|
||||
item->SetEnabled(!item->Enabled());
|
||||
fOnOff->SetLabel(item->Enabled() ? "Disable" : "Enable");
|
||||
fListview->Invalidate();
|
||||
break;
|
||||
|
||||
|
Binary file not shown.
Binary file not shown.
Before Width: | Height: | Size: 46 KiB |
@ -1 +0,0 @@
|
||||
/HAIKU_DATA/work/haiku/src/tests/kits/net/preflet/DummyAddOn/Dummy
|
@ -1 +0,0 @@
|
||||
/HAIKU_DATA/work/haiku/src/tests/kits/net/preflet/MultipleAddOns/Multiple
|
@ -1 +0,0 @@
|
||||
../StatusAddOn/Overview
|
@ -1 +0,0 @@
|
||||
../ServicesAddOn/Services
|
Binary file not shown.
Before Width: | Height: | Size: 49 KiB |
Loading…
Reference in New Issue
Block a user