aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPTableTriggers.h
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2010-10-19 20:39:35 +0000
committerstuconnolly <stuart02@gmail.com>2010-10-19 20:39:35 +0000
commitee085902c3312eb623fbafaca2d59b3260385e72 (patch)
treea74203022e03efea229d10670f0f7b9f74a8f065 /Source/SPTableTriggers.h
parent68e90d59bbb8660751e9fb74cd6553c4b32bcfa5 (diff)
downloadsequelpro-ee085902c3312eb623fbafaca2d59b3260385e72.tar.gz
sequelpro-ee085902c3312eb623fbafaca2d59b3260385e72.tar.bz2
sequelpro-ee085902c3312eb623fbafaca2d59b3260385e72.zip
Replace use of hardcoded strings with constants when working with trigger data.
Diffstat (limited to 'Source/SPTableTriggers.h')
-rw-r--r--Source/SPTableTriggers.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/Source/SPTableTriggers.h b/Source/SPTableTriggers.h
index b7bd61fd..c6178310 100644
--- a/Source/SPTableTriggers.h
+++ b/Source/SPTableTriggers.h
@@ -25,6 +25,16 @@
#import <MCPKit/MCPKit.h>
+// Constants
+/*extern NSString *SPTriggerName;
+extern NSString *SPTriggerTableName;
+extern NSString *SPTriggerEvent;
+extern NSString *SPTriggerActionTime;
+extern NSString *SPTriggerStatement;
+extern NSString *SPTriggerDefiner;
+extern NSString *SPTriggerCreated;
+extern NSString *SPTriggerSQLMode;*/
+
@interface SPTableTriggers : NSObject
{
IBOutlet id tableDocumentInstance;
@@ -54,6 +64,7 @@
BOOL isEdit;
+ // Cache vars
NSString *editTriggerName;
NSString *editTriggerEvent;
NSString *editTriggerTableName;