diff options
Diffstat (limited to 'Frameworks')
-rw-r--r-- | Frameworks/SPMySQLFramework/SPMySQLEmptyResult.h | 8 | ||||
-rw-r--r-- | Frameworks/SPMySQLFramework/SPMySQLEmptyResult.m | 15 |
2 files changed, 22 insertions, 1 deletions
diff --git a/Frameworks/SPMySQLFramework/SPMySQLEmptyResult.h b/Frameworks/SPMySQLFramework/SPMySQLEmptyResult.h index 153d5d68..281d5b7a 100644 --- a/Frameworks/SPMySQLFramework/SPMySQLEmptyResult.h +++ b/Frameworks/SPMySQLFramework/SPMySQLEmptyResult.h @@ -30,6 +30,12 @@ // // More info at <http://code.google.com/p/sequel-pro/> -@interface SPMySQLEmptyResult : SPMySQLResult +@interface SPMySQLEmptyResult : SPMySQLResult { + + id delegate; + +} + +@property (readwrite, assign) id delegate; @end diff --git a/Frameworks/SPMySQLFramework/SPMySQLEmptyResult.m b/Frameworks/SPMySQLFramework/SPMySQLEmptyResult.m index b8172c04..93a04eff 100644 --- a/Frameworks/SPMySQLFramework/SPMySQLEmptyResult.m +++ b/Frameworks/SPMySQLFramework/SPMySQLEmptyResult.m @@ -34,6 +34,8 @@ @implementation SPMySQLEmptyResult +@synthesize delegate; + #pragma mark - #pragma mark Setup and teardown @@ -72,6 +74,11 @@ { } +- (BOOL)dataDownloaded +{ + return YES; +} + - (id)getRow { return nil; @@ -102,10 +109,18 @@ return nil; } +- (void)startDownload +{ +} + - (void)cancelResultLoad { } +- (void)removeAllRows +{ +} + - (id)_stringWithBytes:(const void *)bytes length:(NSUInteger)length { return nil; |