aboutsummaryrefslogtreecommitdiffstats
path: root/CopyMailto/AppDelegate.h
diff options
context:
space:
mode:
authorTeddy Wing2018-09-05 20:51:28 +0200
committerTeddy Wing2018-09-05 20:51:28 +0200
commitd24637ebbadfd31826609fd638c5851d3ce29f98 (patch)
treeb8e4037d0a5026ae00d2b2227976819a4aba5840 /CopyMailto/AppDelegate.h
parent9d8676896db252f4b6c7364da66947504ee33d3b (diff)
downloadCopy-Mailto-d24637ebbadfd31826609fd638c5851d3ce29f98.tar.bz2
Add label that displays the email address coming from `mailto`
It starts with `mailto:`, so we remove that with a substring method call.
Diffstat (limited to 'CopyMailto/AppDelegate.h')
-rw-r--r--CopyMailto/AppDelegate.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/CopyMailto/AppDelegate.h b/CopyMailto/AppDelegate.h
index b46e3ff..321d100 100644
--- a/CopyMailto/AppDelegate.h
+++ b/CopyMailto/AppDelegate.h
@@ -10,6 +10,7 @@
@interface AppDelegate : NSObject <NSApplicationDelegate> {
IBOutlet NSWindow *_window;
+ IBOutlet NSTextField *_email_address;
}
- (void)handleURLEvent:(NSAppleEventDescriptor *)event