Revision d8426ffb pithos-macos/PithosPreferencesController.h

b/pithos-macos/PithosPreferencesController.h
2 2
//  PithosPreferencesController.h
3 3
//  pithos-macos
4 4
//
5
// Copyright 2011 GRNET S.A. All rights reserved.
5
// Copyright 2011-2012 GRNET S.A. All rights reserved.
6 6
//
7 7
// Redistribution and use in source and binary forms, with or
8 8
// without modification, are permitted provided that the following
......
37 37

  
38 38
#import <Cocoa/Cocoa.h>
39 39
@class PithosBrowserController;
40
@class PithosAccount;
40 41

  
41 42
@interface PithosPreferencesController : NSWindowController <NSWindowDelegate> {
42 43
    PithosBrowserController *pithosBrowserController;
44
    PithosAccount *selectedPithosAccount;
43 45
    
44
    NSDictionaryController *groupsDictionaryController;
45
    NSDictionaryController *selectedGroupMembersDictionaryController;
46
    NSArrayController *accountsArrayController;
46 47
    
48
    BOOL accountRemoveEnable;
49
    
50
    NSString *serverURL;
51
    NSString *authUser;
52
    NSString *authToken;
47 53
    BOOL manual;
54
    BOOL loginEnable;
55
    BOOL loginCancelEnable;
56
    
57
    BOOL syncActive;
58
    NSString *syncDirectoryPath;
59
    BOOL syncApplyEnable;
60
    BOOL syncCancelEnable;
61
    
62
    NSDictionaryController *groupsDictionaryController;
63
    NSDictionaryController *selectedGroupMembersDictionaryController;
48 64
}
49 65

  
50 66
@property (nonatomic, assign) IBOutlet PithosBrowserController *pithosBrowserController;
67
@property (nonatomic, retain) PithosAccount *selectedPithosAccount;
68

  
69
@property (nonatomic, assign) IBOutlet NSArrayController *accountsArrayController;
70

  
71
@property (nonatomic, assign) BOOL accountRemoveEnable;
72

  
73
@property (nonatomic, retain) NSString *serverURL;
74
@property (nonatomic, retain) NSString *authUser;
75
@property (nonatomic, retain) NSString *authToken;
76
@property (nonatomic, assign) BOOL manual;
77
@property (nonatomic, assign) BOOL loginEnable;
78
@property (nonatomic, assign) BOOL loginCancelEnable;
79

  
80
@property (nonatomic, assign) BOOL syncActive;
81
@property (nonatomic, retain) NSString *syncDirectoryPath;
82
@property (nonatomic, assign) BOOL syncApplyEnable;
83
@property (nonatomic, assign) BOOL syncCancelEnable;
51 84

  
52 85
@property (nonatomic, assign) IBOutlet NSDictionaryController *groupsDictionaryController;
53 86
@property (nonatomic, assign) IBOutlet NSDictionaryController *selectedGroupMembersDictionaryController;
54 87

  
55
@property (nonatomic, assign) BOOL manual;
88
//- (IBAction)toolbarItemSelected:(id)sender;
56 89

  
57
- (IBAction)toolbarItemSelected:(id)sender;
90
- (IBAction)addAccount:(id)sender;
91
- (IBAction)removeAccount:(id)sender;
92
- (IBAction)login:(id)sender;
93
- (IBAction)loginCancel:(id)sender;
94
- (IBAction)syncApply:(id)sender;
95
- (IBAction)syncCancel:(id)sender;
96
- (IBAction)groupsApply:(id)sender;
97
- (IBAction)groupsRevert:(id)sender;
58 98

  
59
- (IBAction)authenticationLogin:(id)sender;
60 99

  
61 100
@end

Also available in: Unified diff