aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPDatabaseDocument.m
diff options
context:
space:
mode:
authorsqlprodev <sqlprodev@northofthree.com>2012-03-29 17:46:12 +0000
committersqlprodev <sqlprodev@northofthree.com>2012-03-29 17:46:12 +0000
commita03e23e2208d3d454406add663981aa7e14afa03 (patch)
treea96e6fc5c6226b3e23a3c600d9b9e61b10238a2c /Source/SPDatabaseDocument.m
parentbe01aff987f05191fb1a244482fa1b3ff9c6bccb (diff)
downloadsequelpro-a03e23e2208d3d454406add663981aa7e14afa03.tar.gz
sequelpro-a03e23e2208d3d454406add663981aa7e14afa03.tar.bz2
sequelpro-a03e23e2208d3d454406add663981aa7e14afa03.zip
#ifdef'ing out references to frameworks that are not used in SP_REFACTOR builds
Diffstat (limited to 'Source/SPDatabaseDocument.m')
-rw-r--r--Source/SPDatabaseDocument.m6
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/SPDatabaseDocument.m b/Source/SPDatabaseDocument.m
index 93a0d492..37cae9ac 100644
--- a/Source/SPDatabaseDocument.m
+++ b/Source/SPDatabaseDocument.m
@@ -98,8 +98,8 @@ enum {
// Constants
#ifndef SP_REFACTOR
static NSString *SPCreateSyntx = @"SPCreateSyntax";
-static NSString *SPRenameDatabaseAction = @"SPRenameDatabase";
#endif
+static NSString *SPRenameDatabaseAction = @"SPRenameDatabase";
@interface SPDatabaseDocument ()
@@ -110,7 +110,9 @@ static NSString *SPRenameDatabaseAction = @"SPRenameDatabase";
- (void)_renameDatabase;
- (void)_removeDatabase;
- (void)_selectDatabaseAndItem:(NSDictionary *)selectionDetails;
+#ifndef SP_REFACTOR /* method decls */
- (void)_processDatabaseChangedBundleTriggerActions;
+#endif
@end
@@ -6039,6 +6041,7 @@ static NSString *SPRenameDatabaseAction = @"SPRenameDatabase";
[taskPool drain];
}
+#ifndef SP_REFACTOR
- (void)_processDatabaseChangedBundleTriggerActions
{
NSArray *triggeredCommands = [[NSApp delegate] bundleCommandsForTrigger:SPBundleTriggerActionDatabaseChanged];
@@ -6087,5 +6090,6 @@ static NSString *SPRenameDatabaseAction = @"SPRenameDatabase";
}
}
}
+#endif
@end