aboutsummaryrefslogtreecommitdiffstats
path: root/TableDocument.h
diff options
context:
space:
mode:
Diffstat (limited to 'TableDocument.h')
-rw-r--r--TableDocument.h113
1 files changed, 58 insertions, 55 deletions
diff --git a/TableDocument.h b/TableDocument.h
index 9ce99fd7..7a794f8e 100644
--- a/TableDocument.h
+++ b/TableDocument.h
@@ -35,63 +35,63 @@
@interface TableDocument : NSDocument
{
//IBOutlets
- IBOutlet id keyChainInstance;
- IBOutlet id tablesListInstance;
- IBOutlet id tableSourceInstance;
- IBOutlet id tableContentInstance;
- IBOutlet id customQueryInstance;
- IBOutlet id tableDumpInstance;
- IBOutlet id tableStatusInstance;
-
- IBOutlet id tableWindow;
- IBOutlet id connectSheet;
- IBOutlet id databaseSheet;
- IBOutlet id variablesSheet;
- IBOutlet id tableOperationsSheet;
- IBOutlet id consoleDrawer;
-
- IBOutlet id queryProgressBar;
- IBOutlet id favoritesButton;
- IBOutlet NSTableView *connectFavoritesTableView;
- IBOutlet NSArrayController *favoritesController;
- IBOutlet id hostField;
- IBOutlet id socketField;
- IBOutlet id userField;
- IBOutlet id passwordField;
- IBOutlet id portField;
- IBOutlet id databaseField;
-
- IBOutlet NSButton *connectAddToFavoritesCheckbox;
- IBOutlet id connectProgressBar;
- IBOutlet id connectProgressStatusText;
- IBOutlet id databaseNameField;
- IBOutlet id chooseDatabaseButton;
- IBOutlet id consoleTextView;
- IBOutlet id variablesTableView;
- IBOutlet id chooseTableOperationButton;
- IBOutlet NSTabView *tableTabView;
+ IBOutlet id keyChainInstance;
+ IBOutlet id tablesListInstance;
+ IBOutlet id tableSourceInstance;
+ IBOutlet id tableContentInstance;
+ IBOutlet id customQueryInstance;
+ IBOutlet id tableDumpInstance;
+ IBOutlet id tableStatusInstance;
+
+ IBOutlet id tableWindow;
+ IBOutlet id connectSheet;
+ IBOutlet id databaseSheet;
+ IBOutlet id variablesSheet;
+ IBOutlet id consoleDrawer;
+
+ IBOutlet id queryProgressBar;
+ IBOutlet id favoritesButton;
+ IBOutlet NSTableView *connectFavoritesTableView;
+ IBOutlet NSArrayController *favoritesController;
+ IBOutlet id hostField;
+ IBOutlet id socketField;
+ IBOutlet id userField;
+ IBOutlet id passwordField;
+ IBOutlet id portField;
+ IBOutlet id databaseField;
+
+ IBOutlet NSButton *connectAddToFavoritesCheckbox;
+ IBOutlet id connectProgressBar;
+ IBOutlet id connectProgressStatusText;
+ IBOutlet id databaseNameField;
+ IBOutlet id chooseDatabaseButton;
+ IBOutlet id consoleTextView;
+ IBOutlet id variablesTableView;
+ IBOutlet NSTabView *tableTabView;
- IBOutlet NSTableView *dbTablesTableView;
-
+ IBOutlet id sidebarGrabber;
+
+ IBOutlet NSTableView *dbTablesTableView;
+
IBOutlet id syntaxView;
IBOutlet id syntaxViewContent;
- IBOutlet NSWindow *createTableSyntaxWindow;
-
- CMMCPConnection *mySQLConnection;
-
- NSArray *favorites;
- NSArray *variables;
- NSString *selectedDatabase;
- NSString *selectedFavorite;
- NSString *mySQLVersion;
- NSUserDefaults *prefs;
-
- NSMenu *selectEncodingMenu;
- BOOL _supportsEncoding;
- NSString *_encoding;
-
- NSToolbar *mainToolbar;
- NSToolbarItem *chooseDatabaseToolbarItem;
+ IBOutlet NSWindow *createTableSyntaxWindow;
+
+ CMMCPConnection *mySQLConnection;
+
+ NSArray *favorites;
+ NSArray *variables;
+ NSString *selectedDatabase;
+ NSString *selectedFavorite;
+ NSString *mySQLVersion;
+ NSUserDefaults *prefs;
+
+ NSMenu *selectEncodingMenu;
+ BOOL _supportsEncoding;
+ NSString *_encoding;
+
+ NSToolbar *mainToolbar;
+ NSToolbarItem *chooseDatabaseToolbarItem;
}
//start sheet
@@ -147,6 +147,7 @@
- (IBAction)optimizeTable:(id)sender;
- (IBAction)repairTable:(id)sender;
- (IBAction)flushTable:(id)sender;
+- (IBAction)checksumTable:(id)sender;
//other methods
- (NSString *)host;
@@ -203,6 +204,8 @@
- (BOOL)splitView:(NSSplitView *)sender canCollapseSubview:(NSView *)subview;
- (float)splitView:(NSSplitView *)sender constrainMaxCoordinate:(float)proposedMax ofSubviewAt:(int)offset;
- (float)splitView:(NSSplitView *)sender constrainMinCoordinate:(float)proposedMin ofSubviewAt:(int)offset;
+- (NSRect)splitView:(NSSplitView *)splitView additionalEffectiveRectOfDividerAtIndex:(int)dividerIndex;
+
//tableView datasource methods
- (int)numberOfRowsInTableView:(NSTableView *)aTableView;
@@ -215,4 +218,4 @@
@end
-extern NSString *TableDocumentFavoritesControllerSelectionIndexDidChange; \ No newline at end of file
+extern NSString *TableDocumentFavoritesControllerSelectionIndexDidChange;