Navigation Menu

Skip to content

Commit

Permalink
MD-114
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.code.sf.net/p/osirix/code/osirix@10934 4e9e6e3d-4551-47eb-9dbe-a6127f9400a1
  • Loading branch information
rossetantoine committed Feb 9, 2013
1 parent 4ddc800 commit cee4af4
Show file tree
Hide file tree
Showing 4 changed files with 179 additions and 191 deletions.
22 changes: 0 additions & 22 deletions BonjourBrowser.m
Expand Up @@ -205,33 +205,11 @@ - (void) buildLocalPathsList

- (void) updateFixedList: (NSNotification*) note
{
int i = [[BrowserController currentBrowser] currentBonjourService];

NSDictionary *selectedDict = nil;
if( i >= 0 && i < services.count)
selectedDict = [[services objectAtIndex: i] retain];

[self buildFixedIPList];
[self buildLocalPathsList];
//[[BrowserController currentBrowser] loadDICOMFromiPod];
[self buildDICOMDestinationsList];
[self arrangeServices];

[interfaceOsiriX displayBonjourServices];

if( selectedDict)
{
NSInteger index = [services indexOfObject: selectedDict];

if( index == NSNotFound)
[[BrowserController currentBrowser] resetToLocalDatabase];
else
[[BrowserController currentBrowser] setCurrentBonjourService: index];

[selectedDict release];
}

[interfaceOsiriX displayBonjourServices];
}

- (void) arrangeServices
Expand Down
2 changes: 0 additions & 2 deletions BrowserController+Sources.h
Expand Up @@ -28,8 +28,6 @@
-(DataNodeIdentifier*)sourceIdentifierForDatabase:(DicomDatabase*)database;
-(void)selectCurrentDatabaseSource;

-(long)currentBonjourService __deprecated;
-(void)setCurrentBonjourService:(int)index __deprecated;
-(int)findDBPath:(NSString*)path dbFolder:(NSString*)DBFolderLocation __deprecated;
-(void)removePathFromSources:(NSString*) path;
@end

0 comments on commit cee4af4

Please sign in to comment.