Develop Kerberos renew system for ticket
[openafs.git] / src / platform / DARWIN / AFSPreference / AFSCommanderPref.h
index 7280d40..cc1534b 100644 (file)
@@ -43,23 +43,28 @@ int CoreMenuExtraRemoveMenuExtra(void *menuExtra, int whoCares);
        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;
-       id startStopButton;
-       id cellList;
+       IBOutlet NSButton *startStopButton;
+       IBOutlet NSTableView *cellList;
        //id cellNameTextEdit;
-       id cellIpButton;
-       id addCellButton;
-       id removeCellButton;
+       IBOutlet NSControl *cellIpButton;
+       IBOutlet NSControl *addCellButton;
+       IBOutlet NSControl *removeCellButton;
        //id refreshConfigurationButton;
-       id saveConfigurationButton;
+       IBOutlet NSControl *saveConfigurationButton;
        id labelSaveResult;
-       id tokensTable;
-       id afsMenucheckBox;
+       IBOutlet NSTableView *tokensTable;
+       IBOutlet NSControl *afsMenucheckBox;
                
        //Configuration sheet
        id ipConfigurationSheet;
@@ -82,7 +87,8 @@ int CoreMenuExtraRemoveMenuExtra(void *menuExtra, int whoCares);
        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
@@ -117,9 +123,13 @@ int CoreMenuExtraRemoveMenuExtra(void *menuExtra, int whoCares);
 - (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;
@@ -127,17 +137,21 @@ int CoreMenuExtraRemoveMenuExtra(void *menuExtra, int whoCares);
 - (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;
 - (void) repairHelperTool;
 - (void) writePreferenceFile;
 - (void) readPreferenceFile;
 - (void) refreshGui:(NSNotification *)notification;
+- (void) refreshTokensNotify:(NSNotification*)notification;
 - (void) afsVolumeMountChange:(NSNotification *)notification;
+- (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