-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Giorgio Calderolla
committed
May 4, 2014
1 parent
7a1df65
commit e0a881f
Showing
5 changed files
with
89 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#import <Foundation/Foundation.h> | ||
|
||
|
||
@interface CTCBrowser : NSObject | ||
|
||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
#import "CTCBrowser.h" | ||
#import "CTCDefaults.h" | ||
|
||
|
||
@implementation CTCBrowser | ||
|
||
- (IBAction)browseService:(id)sender { | ||
// Launch the system browser, open the service (ShowRSS) | ||
[NSWorkspace.sharedWorkspace openURL:[NSURL URLWithString:kCTCDefaultsServiceURL]]; | ||
} | ||
|
||
- (IBAction)browseWebsite:(id)sender { | ||
// Launch the system browser, open the applications's website | ||
[NSWorkspace.sharedWorkspace openURL:[NSURL URLWithString:kCTCDefaultsApplicationWebsiteURL]]; | ||
} | ||
|
||
- (IBAction)browseHelp:(id)sender { | ||
// Launch the system browser, open the applications's on-line help | ||
[NSWorkspace.sharedWorkspace openURL:[NSURL URLWithString:kCTCDefaultsApplicationHelpURL]]; | ||
} | ||
|
||
- (IBAction)browseFeatureRequest:(id)sender { | ||
// Launch the system browser, open the applications's feature request page | ||
[NSWorkspace.sharedWorkspace openURL:[NSURL URLWithString:kCTCDefaultsApplicationFeatureRequestURL]]; | ||
} | ||
|
||
- (IBAction)browseBugReport:(id)sender { | ||
// Launch the system browser, open the applications's bug report page | ||
[NSWorkspace.sharedWorkspace openURL:[NSURL URLWithString:kCTCDefaultsApplicationBugReportURL]]; | ||
} | ||
|
||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters