-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
HSS 1.1.4: resolve case when folder description is <null> instead of …
…empty string.
- Loading branch information
Showing
140 changed files
with
4,849 additions
and
97 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Versions/Current/HUG |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Versions/Current/Headers |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Versions/Current/Resources |
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#ifndef __HUG | ||
#define __HUG | ||
|
||
#include <HUG/AuthenticationWindowController.h> | ||
#include <HUG/Constants.h> | ||
#include <HUG/CStoreSecurityAccess.h> | ||
#include <HUG/Enterprise.h> | ||
#include <HUG/HUG.h> | ||
#include <HUG/HUGHTTPClient.h> | ||
#include <HUG/HUGSOAPWebServiceClient.h> | ||
#include <HUG/HUGXMLWebServiceClient.h> | ||
#include <HUG/LogEntry.h> | ||
#include <HUG/Logger.h> | ||
#include <HUG/UsernameWindowController.h> | ||
#include <HUG/Utils.h> | ||
#include <HUG/WSGeneratedObj.h> | ||
#include <HUG/XMLServices.h> | ||
#include <HUG/XMLServicesWebServiceClient.h> | ||
|
||
#endif |
43 changes: 43 additions & 0 deletions
43
HSS/HUG.framework/Versions/A/Headers/AuthenticationWindowController.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
// | ||
// AuthenticationWindowController.h | ||
// HUG Framework | ||
// | ||
// Created by Alessandro Volz on 26.05.11. | ||
// Copyright 2011 OsiriX Team. All rights reserved. | ||
// | ||
|
||
#import <Cocoa/Cocoa.h> | ||
|
||
|
||
@interface AuthenticationWindowController : NSWindowController { | ||
IBOutlet NSTextField* _infoLabel; | ||
IBOutlet NSButton* _okButton; | ||
IBOutlet NSButton* _checkHybridButton; | ||
IBOutlet NSTextField* _loginField; | ||
IBOutlet NSTextField* _passwordField; | ||
IBOutlet NSTextField* _messageLabel; | ||
NSTimer* _timer; | ||
NSLock* _timerLock; | ||
BOOL _requestHybrid; | ||
NSString* _certificate; | ||
NSString* _password; | ||
NSModalSession _modalSession; | ||
} | ||
|
||
@property(readonly,retain) NSString* certificate; | ||
@property(readonly,retain) NSString* password; | ||
|
||
-(NSInteger)runModal __deprecated; | ||
-(NSInteger)runModalOnWindow:(NSWindow*)onwindow __deprecated; | ||
|
||
-(void)beginSheetOnWindow:(NSWindow*)parentWindow callbackTarget:(id)target selector:(SEL)sel context:(void*)context; | ||
|
||
-(IBAction)cancelAction:(id)sender; | ||
-(IBAction)okAction:(id)sender; | ||
-(IBAction)checkHybridAction:(id)sender; | ||
|
||
-(IBAction)updateOkButton:(id)sender; | ||
|
||
-(void)invalidate; | ||
|
||
@end |
17 changes: 17 additions & 0 deletions
17
HSS/HUG.framework/Versions/A/Headers/CStoreSecurityAccess.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// | ||
// CStoreSecurityAccess.h | ||
// Logger | ||
// | ||
// Created by Arnaud Garcia on 28.09.05. | ||
// Copyright 2005 __MyCompanyName__. All rights reserved. | ||
// | ||
|
||
#import "XMLServicesWebServiceClient.h" | ||
|
||
|
||
@interface CStoreSecurityAccess : XMLServicesWebServiceClient { | ||
} | ||
|
||
+(BOOL)isStoreAuthorizedForHost:(NSString*)host; | ||
|
||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
/* | ||
* Constants.h | ||
* Compacs | ||
* | ||
* Created by Alessandro Volz on 12.10.09. | ||
* Copyright 2009 HUG. All rights reserved. | ||
* | ||
*/ | ||
|
||
//#define PathToCardUser @"/tmp/osirix_card_user" | ||
#define PathToXploreUser @"/tmp/osirix_user" | ||
|
||
extern NSString* const HUGModeFilePath; | ||
|
||
#define HUGTrickMask (NSCommandKeyMask|NSAlternateKeyMask) | ||
#define HUGTrick (([[NSApp currentEvent] modifierFlags]&HUGTrickMask)==HUGTrickMask) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
// | ||
// Enterprise.h | ||
// HUG Framework | ||
// | ||
// Created by Alessandro Volz on 21.12.11. | ||
// Copyright 2011 OsiriX Team. All rights reserved. | ||
// | ||
|
||
#import <Cocoa/Cocoa.h> | ||
|
||
@interface Enterprise : NSObject | ||
|
||
+(NSString*)Name; // the enterprise's name, @"Apple" | ||
+(NSString*)Username; // the current user's username (could be the OSX session username if LDAP is used, or extracted from some smartcard, or anything) | ||
+(NSString*)StoredPasswordForUsername:(NSString*)username; // the passed username's password, if it was recently entered | ||
+(void)StorePassword:(NSString*)password forUsername:(NSString*)username; | ||
|
||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
// | ||
// HUG.h | ||
// HUG Framework | ||
// | ||
// Created by Alessandro Volz on 10.12.09. | ||
// Copyright 2009 OsiriX Team. All rights reserved. | ||
// | ||
|
||
#import <Cocoa/Cocoa.h> | ||
|
||
#define HUGDevelopmentMode @"DEVE" | ||
#define HUGTestMode @"TEST" | ||
#define HUGFormationMode @"FORM" | ||
#define HUGProductionMode @"PROD" | ||
|
||
|
||
@interface HUG : NSObject { | ||
} | ||
|
||
+(NSString*)master; | ||
+(NSString*)recommendedUsername __deprecated; // le concept "utilisateur recommandé" est éliminé | ||
|
||
+(NSArray*)modes; | ||
+(NSString*)mode; | ||
+(void)setMode:(NSString*)mode; | ||
|
||
+(NSString*)hostname; | ||
+(NSString*)hostname:(NSArray**)rAddresses; | ||
+(NSString*)blockForHostname:(NSArray**)rAddresses forTimeInterval:(NSTimeInterval)seconds; | ||
|
||
+(NSString*)username; | ||
+(NSString*)modalUsername; | ||
+(NSString*)modalUsernameOnWindow:(NSWindow*)window; | ||
|
||
+(NSString*)passwordForUser:(NSString*)user; // les mdp peuvent être stockés sur le disque dur pour faciliter la vie du programmeur | ||
|
||
+(NSString*)certificate; | ||
+(NSString*)modalCertificate __deprecated; | ||
+(NSString*)modalCertificateOnWindow:(NSWindow*)window __deprecated; | ||
+(void)startConditionalCertificateSheetOnWindow:(NSWindow*)window callbackTarget:(id)target selector:(SEL)sel context:(void*)context; | ||
|
||
+(void)setCertificate:(NSString*)certificate __deprecated; | ||
+(void)setCertificate:(NSString*)certificate password:(NSString*)password forUser:(NSString*)username; | ||
//+(void)invalidateCertificate; | ||
|
||
+(void)checkMasterUserAgain; | ||
|
||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
// | ||
// HTTPClient.h | ||
// HUG Framework | ||
// | ||
// Created by Alessandro Volz on 20.10.09. | ||
// Copyright 2009 HUG. All rights reserved. | ||
// | ||
|
||
#import "XMLServicesWebServiceClient.h" | ||
|
||
//extern NSString* ReplaceDomain; | ||
|
||
|
||
@interface HUGHTTPClient : XMLServicesWebServiceClient { | ||
} | ||
|
||
+(HUGHTTPClient*)sharedInstanceForIdentifier:(NSString*)identifier mode:(NSString*)mode; | ||
-(NSData*)get:(id)path; | ||
|
||
@end |
17 changes: 17 additions & 0 deletions
17
HSS/HUG.framework/Versions/A/Headers/HUGSOAPWebServiceClient.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// | ||
// HUGSOAPWebServiceClient.h | ||
// HUG Framework | ||
// | ||
// Created by Alessandro Volz on 19.03.2011. | ||
// Copyright 2011 HUG. All rights reserved. | ||
// | ||
|
||
#import "XMLServicesWebServiceClient.h" | ||
|
||
|
||
@interface HUGSOAPWebServiceClient : XMLServicesWebServiceClient { | ||
} | ||
|
||
-(id)execute:(NSString*)methodName withParameterNamesAndValues: firstName, ...; | ||
|
||
@end |
19 changes: 19 additions & 0 deletions
19
HSS/HUG.framework/Versions/A/Headers/HUGXMLWebServiceClient.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
// | ||
// HUGXMLWebServiceClient.h | ||
// HUG Framework | ||
// | ||
// Created by Alessandro Volz on 15.10.09. | ||
// Copyright 2009 HUG. All rights reserved. | ||
// | ||
|
||
#import "XMLServicesWebServiceClient.h" | ||
|
||
|
||
@interface HUGXMLWebServiceClient : XMLServicesWebServiceClient { | ||
} | ||
|
||
-(NSXMLNode*)execute:(NSString*)serviceId withBody:(id)body; | ||
-(NSXMLNode*)execute:(NSString*)serviceId subservice:(NSString*)subserviceId withBody:(id)body; | ||
-(NSXMLNode*)execute:(NSString*)serviceId subservice:(NSString*)subserviceId session:(NSString*)sessionId withBody:(id)body; | ||
|
||
@end |
Oops, something went wrong.