diff options
author | stuconnolly <stuart02@gmail.com> | 2011-08-01 21:54:27 +0000 |
---|---|---|
committer | stuconnolly <stuart02@gmail.com> | 2011-08-01 21:54:27 +0000 |
commit | e70486eb1503cad882a0d5e452fef3b2fecf6629 (patch) | |
tree | f98c83cfd6a015356bbab22ba956c9bec6f67a1f /Source/SPFavoritesImporter.h | |
parent | f3e65efba3f76cb2149fd8427af9463032d3c45d (diff) | |
download | sequelpro-e70486eb1503cad882a0d5e452fef3b2fecf6629.tar.gz sequelpro-e70486eb1503cad882a0d5e452fef3b2fecf6629.tar.bz2 sequelpro-e70486eb1503cad882a0d5e452fef3b2fecf6629.zip |
Work on importing favorites.
Diffstat (limited to 'Source/SPFavoritesImporter.h')
-rw-r--r-- | Source/SPFavoritesImporter.h | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/Source/SPFavoritesImporter.h b/Source/SPFavoritesImporter.h index fefc54e4..0d86bad1 100644 --- a/Source/SPFavoritesImporter.h +++ b/Source/SPFavoritesImporter.h @@ -23,9 +23,24 @@ // // More info at <http://code.google.com/p/sequel-pro/> +#import "SPFavoritesImportProtocol.h" + @interface SPFavoritesImporter : NSObject { - + NSObject <SPFavoritesImportProtocol> *delegate; + + NSError *importError; + + NSString *importPath; } +@property (readwrite, assign) NSObject <SPFavoritesImportProtocol> *delegate; + +/** + * @property exportPath The file path to import from + */ +@property (readwrite, retain) NSString *importPath; + +- (void)importFavoritesFromFileAtPath:(NSString *)path; + @end |