aboutsummaryrefslogtreecommitdiffstats
path: root/Source/TableSource.h
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2009-10-27 01:24:00 +0000
committerrowanbeentje <rowan@beent.je>2009-10-27 01:24:00 +0000
commita99b0940d264ffbc4c525c5f17049f64e391ccc3 (patch)
tree2a8c20d71f0d15ff66bf464805542cf1f0e8b9cd /Source/TableSource.h
parent9e6adb426de189704f0d0fe09b926b286dbb813e (diff)
downloadsequelpro-a99b0940d264ffbc4c525c5f17049f64e391ccc3.tar.gz
sequelpro-a99b0940d264ffbc4c525c5f17049f64e391ccc3.tar.bz2
sequelpro-a99b0940d264ffbc4c525c5f17049f64e391ccc3.zip
- Set up TableSource to respond to task notifications to prepare for threaded queries
- Alter task notifications to pass the TableDocument as the notification object so that only the current window responds to the notification, allowing other windows to be fully used while a window is performing a task
Diffstat (limited to 'Source/TableSource.h')
-rw-r--r--Source/TableSource.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/TableSource.h b/Source/TableSource.h
index 4d10a5c9..c30a70bd 100644
--- a/Source/TableSource.h
+++ b/Source/TableSource.h
@@ -30,6 +30,7 @@
{
IBOutlet id tablesListInstance;
IBOutlet id tableDataInstance;
+ IBOutlet id tableDocumentInstance;
IBOutlet id tableWindow;
IBOutlet id indexSheet;
@@ -39,8 +40,10 @@
IBOutlet id addFieldButton;
IBOutlet id copyFieldButton;
IBOutlet id removeFieldButton;
+ IBOutlet id reloadFieldsButton;
IBOutlet id addIndexButton;
IBOutlet id removeIndexButton;
+ IBOutlet id reloadIndexesButton;
IBOutlet id indexTypeField;
IBOutlet id indexNameField;
IBOutlet id indexedColumnsField;
@@ -93,4 +96,8 @@
- (NSDictionary *)enumFields;
- (NSArray *)tableStructureForPrint;
+// Task interaction
+- (void) startDocumentTaskForTab:(NSNotification *)aNotification;
+- (void) endDocumentTaskForTab:(NSNotification *)aNotification;
+
@end