aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPTableData.h
diff options
context:
space:
mode:
authorbamse16 <marius@marius.me.uk>2010-01-31 18:56:25 +0000
committerbamse16 <marius@marius.me.uk>2010-01-31 18:56:25 +0000
commit223dd9139ae61d9319ea5f719a1a08feb63bfeb4 (patch)
tree378bf3a8440de007df8b8c76d0847abe845fa848 /Source/SPTableData.h
parent890247960876e8dd987dd44ec98da4300b6a0fd3 (diff)
downloadsequelpro-223dd9139ae61d9319ea5f719a1a08feb63bfeb4.tar.gz
sequelpro-223dd9139ae61d9319ea5f719a1a08feb63bfeb4.tar.bz2
sequelpro-223dd9139ae61d9319ea5f719a1a08feb63bfeb4.zip
Added preliminary support for triggers. You can access the tab via the
menu item View > Table Triggers (apple-6). Heavily copied from Relations tab, lots of functionality missing. Just lists the triggers for the table now. M Source/SPTableData.m M Source/SPConstants.h M Source/SPConstants.m A Source/SPTableTriggers.h A Source/SPTableTriggers.m M Source/TableDocument.h M Source/TableDocument.m M Source/SPTableData.h M Interfaces/English.lproj/MainMenu.xib M Interfaces/English.lproj/DBView.xib M sequel-pro.xcodeproj/project.pbxproj
Diffstat (limited to 'Source/SPTableData.h')
-rw-r--r--Source/SPTableData.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/SPTableData.h b/Source/SPTableData.h
index c4e7495a..eb1ae6d4 100644
--- a/Source/SPTableData.h
+++ b/Source/SPTableData.h
@@ -33,6 +33,7 @@
NSMutableArray *columns;
NSMutableArray *columnNames;
NSMutableArray *constraints;
+ NSMutableArray *triggers;
NSMutableDictionary *status;
NSString *tableEncoding;
@@ -49,6 +50,7 @@
- (NSArray *) columnNames;
- (NSDictionary *) columnAtIndex:(NSInteger)index;
- (NSArray *) getConstraints;
+- (NSArray *) triggers;
- (BOOL) columnIsBlobOrText:(NSString *)colName;
- (NSString *) statusValueForKey:(NSString *)aKey;
- (void)setStatusValue:(NSString *)value forKey:(NSString *)key;