//for check system version
int prefStartUp;
// Main View
+ BOOL startAFSAtLogin;
IBOutlet NSView *afsCommanderView;
IBOutlet NSSearchField *textSearchField;
IBOutlet NSTextField *afsDefaultCellLabel;
IBOutlet NSButton *installKRB5AuthAtLoginButton;
IBOutlet NSButton *useAklogCheck;
IBOutlet NSTextField *afsVersionLabel;
- BOOL startAFSAtLogin;
IBOutlet NSButton *checkButtonAfsAtBootTime;
IBOutlet NSTextField *textFieldDevInfoLabel;
-
- //NSString *appID;
- //id installationPathTextField;
- id startStopButton;
- id cellList;
- //id cellNameTextEdit;
- id cellIpButton;
- id addCellButton;
- id removeCellButton;
- //id refreshConfigurationButton;
- id saveConfigurationButton;
- id labelSaveResult;
- id tokensTable;
- id afsMenucheckBox;
-
- //cache manager IBOutlet
IBOutlet NSTextField *statCacheEntry;
IBOutlet NSTextField *dCacheDim;
IBOutlet NSTextField *cacheDimension;
IBOutlet NSTextField *daemonNumber;
IBOutlet NSTextField *afsRootMountPoint;
IBOutlet NSTextField *nVolEntry;
+ IBOutlet NSTextField *nsTextFieldKrb5RenewTime;
+ IBOutlet NSTextField *nsTextFieldKrb5SecToExpireDateForRenew;
+ IBOutlet NSTextField *nsTextFieldKrb5RenewCheckIntervall;
+ IBOutlet NSButton *nsButtonEnableDisableKrb5RenewCheck;
IBOutlet NSButton *dynRoot;
IBOutlet NSButton *afsDB;
IBOutlet NSButton *verbose;
+ IBOutlet NSButton *backgrounderActivationCheck;
IBOutlet NSBox *groupsBox;
+ //id installationPathTextField;
+ IBOutlet NSButton *startStopButton;
+ IBOutlet NSTableView *cellList;
+ //id cellNameTextEdit;
+ IBOutlet NSControl *cellIpButton;
+ IBOutlet NSControl *addCellButton;
+ IBOutlet NSControl *removeCellButton;
+ //id refreshConfigurationButton;
+ IBOutlet NSControl *saveConfigurationButton;
+ id labelSaveResult;
+ IBOutlet NSTableView *tokensTable;
+ IBOutlet NSControl *afsMenucheckBox;
+
//Configuration sheet
id ipConfigurationSheet;
id ipConfControllerCommander;
IBOutlet NSButton *checkEnableLink;
IBOutlet NSButton *buttonAddLink;
IBOutlet NSButton *buttonRemoveLink;
- bool enableLink;
+ IBOutlet NSTableView *tableViewLink;
+ NSMutableDictionary *linkConfiguration;
AFSPropertyManager *afsProperty; //AFS Property managment class
NSMutableArray *filteredCellDB; //Filtered CellServDB
- (IBAction) aklogSwitchEvent:(id) sender;
- (IBAction) credentialAtLoginTimeEvent:(id) sender;
- (IBAction) afsStartupSwitchEvent:(id) sender;
-- (void) credentialAtLoginTimeEventCreationLaunchAgentDir:(NSWindow*)alert returnCode:(int)returnCode contextInfo:(void *)contextInfo;
- (IBAction) krb5KredentialAtLoginTimeEvent:(id) sender;
- (IBAction) searchCellTextEvent:(id) sender;
+- (IBAction) manageBackgrounderActivation:(id)sender;
+- (IBAction) tableViewLinkPerformClick:(id) sender;
+- (IBAction) enableDisableKrb5RenewCheck:(id) sender;
+- (IBAction) krb5RenewParamChange:(id) sender;
+- (void) credentialAtLoginTimeEventCreationLaunchAgentDir:(NSWindow*)alert returnCode:(int)returnCode contextInfo:(void *)contextInfo;
- (void) clearCellServDBFiltering;
- (void) filterCellServDB:(NSString*)textToFilter;
- (DBCellElement*) getCurrentCellInDB;
- (void) modifyCell:(DBCellElement*) cellElement;
- (void) modifyCellByIDX:(int) idx;
- (void) showMessage:(NSString*) message;
-- (void) manageButtonState:(int) rowSelected;
+- (void) tableViewCellmanageButtonState:(int) rowSelected;
+- (void) tableViewLinkmanageButtonState:(NSIndexSet *) rowsSelectedIndex;
- (void) setAfsStatus;
- (void) refreshTokens:(NSTimer*)theTimer;
-- (BOOL) isAFSMenuExtraLoaded;
-- (void) addAFSMenuExtra;
-- (void) removeAFSMenuExtra;
- (void) repairHelperTool;
- (void) writePreferenceFile;
- (void) readPreferenceFile;
-- (void) mextraChangeActivation:(NSNotification *)notification;
- (void) refreshGui:(NSNotification *)notification;
+- (void) refreshTokensNotify:(NSNotification*)notification;
- (void) afsVolumeMountChange:(NSNotification *)notification;
-@end
\ No newline at end of file
+- (void)tabView:(NSTabView *)tabView willSelectTabViewItem: (NSTabViewItem *)tabViewItem;
+@end
+
+@interface AFSCommanderPref (NSTableDataSource)
+- (id) getTableTokensListValue:(int) colId row:(int)row;
+- (id) getTableCelListValue:(int) colId row:(int)row;
+- (id) getTableLinkValue:(int) colId row:(int)row;
+@end;
\ No newline at end of file