diff options
author | stuconnolly <stuart02@gmail.com> | 2011-06-12 13:56:11 +0000 |
---|---|---|
committer | stuconnolly <stuart02@gmail.com> | 2011-06-12 13:56:11 +0000 |
commit | f3e65efba3f76cb2149fd8427af9463032d3c45d (patch) | |
tree | 0e8ebaadd24c8e206bca1f8b2a30ef6543976391 /Source/SPConnectionControllerDelegate.m | |
parent | c1de88ac62381469ad01975c0f28e5847a65edb9 (diff) | |
download | sequelpro-f3e65efba3f76cb2149fd8427af9463032d3c45d.tar.gz sequelpro-f3e65efba3f76cb2149fd8427af9463032d3c45d.tar.bz2 sequelpro-f3e65efba3f76cb2149fd8427af9463032d3c45d.zip |
Add the ability to export favorites.
Diffstat (limited to 'Source/SPConnectionControllerDelegate.m')
-rw-r--r-- | Source/SPConnectionControllerDelegate.m | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Source/SPConnectionControllerDelegate.m b/Source/SPConnectionControllerDelegate.m index b86e716f..03dbd930 100644 --- a/Source/SPConnectionControllerDelegate.m +++ b/Source/SPConnectionControllerDelegate.m @@ -492,4 +492,20 @@ static NSString *SPDatabaseImage = @"database-small"; return YES; } +#pragma mark - +#pragma mark Favorites import/export delegate methods + +/** + * Called by the favorites exporter when the export completes. + */ +- (void)favoritesExportCompletedWithError:(NSError *)error +{ + if (error) { + [[NSAlert alertWithError:error] beginSheetModalForWindow:[dbDocument parentWindow] + modalDelegate:self + didEndSelector:NULL + contextInfo:NULL]; + } +} + @end |