forked from mipstian/catch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCTCBrowser.m
32 lines (24 loc) · 1.11 KB
/
CTCBrowser.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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