aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPGrowlController.m
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2009-06-03 20:46:57 +0000
committerstuconnolly <stuart02@gmail.com>2009-06-03 20:46:57 +0000
commitfc748400d92a0b7874a19eba3fa573cdf1415ee5 (patch)
treecb304884f89e8b4c2eafb3fb1637346b5a052a87 /Source/SPGrowlController.m
parenta9b766e758d8494c7ba56831b238e5c91258a6c5 (diff)
downloadsequelpro-fc748400d92a0b7874a19eba3fa573cdf1415ee5.tar.gz
sequelpro-fc748400d92a0b7874a19eba3fa573cdf1415ee5.tar.bz2
sequelpro-fc748400d92a0b7874a19eba3fa573cdf1415ee5.zip
Various enhancements to relation functionality, including:
- Only presenting valid tables for possible relations, that is InnoDB tables. - Only presenting valid columns for possible relations, that is columns of the same data type. - Loads of interface validation.
Diffstat (limited to 'Source/SPGrowlController.m')
-rw-r--r--Source/SPGrowlController.m10
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/SPGrowlController.m b/Source/SPGrowlController.m
index d65b5201..13e1698a 100644
--- a/Source/SPGrowlController.m
+++ b/Source/SPGrowlController.m
@@ -29,7 +29,7 @@ static SPGrowlController *sharedGrowlController = nil;
@implementation SPGrowlController
-/*
+/**
* Returns the shared Growl controller.
*/
+ (SPGrowlController *)sharedGrowlController
@@ -58,14 +58,14 @@ static SPGrowlController *sharedGrowlController = nil;
- (id)init
{
- if (self = [super init]) {
+ if ((self = [super init])) {
[GrowlApplicationBridge setGrowlDelegate:self];
}
return self;
}
-/*
+/**
* The following base protocol methods are implemented to ensure the singleton status of this class.
*/
@@ -79,7 +79,7 @@ static SPGrowlController *sharedGrowlController = nil;
- (void)release { }
-/*
+/**
* Posts a Growl notification using the supplied details and default values.
*/
- (void)notifyWithTitle:(NSString *)title description:(NSString *)description notificationName:(NSString *)name
@@ -93,7 +93,7 @@ static SPGrowlController *sharedGrowlController = nil;
clickContext:nil];
}
-/*
+/**
* Posts a Growl notification using the supplied details and effectively ignoring the default values.
*/
- (void)notifyWithTitle:(NSString *)title description:(NSString *)description notificationName:(NSString *)name iconData:(NSData *)data priority:(int)priority isSticky:(BOOL)sticky clickContext:(id)clickContext