diff options
Diffstat (limited to 'Source')
-rw-r--r-- | Source/SPAppController.m | 3 | ||||
-rw-r--r-- | Source/SPConstants.h | 1 | ||||
-rw-r--r-- | Source/SPConstants.m | 1 |
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"; |