Ignore:
Timestamp:
Dec 6, 2008, 1:18:25 AM (13 years ago)
Author:
livings124
Message:

#1395 - patch from Waldorf: Bonjour support for Web Interface

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Controller.m

    r7250 r7290  
    4242#import "StatusBarView.h"
    4343#import "FilterButton.h"
     44#import "BonjourController.h"
    4445#import "NSApplicationAdditions.h"
    4546#import "NSStringAdditions.h"
     
    522523    //auto importing
    523524    [self checkAutoImportDirectory];
     525   
     526    //registering the Web UI to Bonjour
     527    if ([fDefaults boolForKey: @"RPC"])
     528        [[BonjourController defaultController] startWithPort: [fDefaults integerForKey: @"RPCPort"]];
    524529}
    525530
     
    572577- (void) applicationWillTerminate: (NSNotification *) notification
    573578{
     579    //stop the Bonjour service
     580    [[BonjourController defaultController] stop];
     581
    574582    //stop blocklist download
    575583    if ([BlocklistDownloader isRunning])
Note: See TracChangeset for help on using the changeset viewer.