aboutsummaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2010-11-09 15:40:44 +0000
committerBibiko <bibiko@eva.mpg.de>2010-11-09 15:40:44 +0000
commitd10ca821ae2f3ab62daf92f5e9bde58bf796e36c (patch)
treef2c831942be1623c7fec555890e24700d177ca90 /Source
parentbccefa18c72465b2ec41a23eeda5ceb6f4d36204 (diff)
downloadsequelpro-d10ca821ae2f3ab62daf92f5e9bde58bf796e36c.tar.gz
sequelpro-d10ca821ae2f3ab62daf92f5e9bde58bf796e36c.tar.bz2
sequelpro-d10ca821ae2f3ab62daf92f5e9bde58bf796e36c.zip
• added spBundle file extension
Diffstat (limited to 'Source')
-rw-r--r--Source/SPAppController.m3
-rw-r--r--Source/SPConstants.h1
-rw-r--r--Source/SPConstants.m1
3 files changed, 5 insertions, 0 deletions
diff --git a/Source/SPAppController.m b/Source/SPAppController.m
index e94f52ac..97ea3ba8 100644
--- a/Source/SPAppController.m
+++ b/Source/SPAppController.m
@@ -460,6 +460,9 @@
return;
}
}
+ else if([[[filename pathExtension] lowercaseString] isEqualToString:[SPUserBundleFileExtension lowercaseString]]) {
+ NSLog(@"Be patient…");
+ }
else {
NSLog(@"Only files with the extensions ‘%@’, ‘%@’, ‘%@’ or ‘%@’ are allowed.", SPFileExtensionDefault, SPBundleFileExtension, SPColorThemeFileExtension, SPFileExtensionSQL);
}
diff --git a/Source/SPConstants.h b/Source/SPConstants.h
index 29207b89..95660f39 100644
--- a/Source/SPConstants.h
+++ b/Source/SPConstants.h
@@ -227,6 +227,7 @@ extern NSString *SPFileExtensionDefault;
extern NSString *SPFileExtensionSQL;
extern NSString *SPBundleFileExtension;
extern NSString *SPColorThemeFileExtension;
+extern NSString *SPUserBundleFileExtension;
// File names
extern NSString *SPHTMLPrintTemplate;
diff --git a/Source/SPConstants.m b/Source/SPConstants.m
index 1b76d688..d17ddd13 100644
--- a/Source/SPConstants.m
+++ b/Source/SPConstants.m
@@ -48,6 +48,7 @@ NSString *SPFileExtensionDefault = @"spf";
NSString *SPBundleFileExtension = @"spfs";
NSString *SPFileExtensionSQL = @"sql";
NSString *SPColorThemeFileExtension = @"spTheme";
+NSString *SPUserBundleFileExtension = @"spBundle";
// File names
NSString *SPHTMLPrintTemplate = @"SPPrintTemplate";