aboutsummaryrefslogtreecommitdiffstats
path: root/CopyMailto/DefaultURLHandler.h
diff options
context:
space:
mode:
authorTeddy Wing2018-09-05 19:00:55 +0200
committerTeddy Wing2018-09-05 19:00:55 +0200
commitda31291a965ea898a59a0859c7e455144eaea195 (patch)
treec9ac6621916dcaac25651e182ef730a806bc39a9 /CopyMailto/DefaultURLHandler.h
parenteca0aacf16cb2340507407504d8d4a5e293b4178 (diff)
downloadCopy-Mailto-da31291a965ea898a59a0859c7e455144eaea195.tar.bz2
Add `DefaultURLHandler`; Get current handler for `mailto` URLs
Add a class to get the current bundle handler for `mailto` URLs. It will be extended to set CopyMailto as the default handler after saving the original.
Diffstat (limited to 'CopyMailto/DefaultURLHandler.h')
-rw-r--r--CopyMailto/DefaultURLHandler.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/CopyMailto/DefaultURLHandler.h b/CopyMailto/DefaultURLHandler.h
new file mode 100644
index 0000000..7bad3d0
--- /dev/null
+++ b/CopyMailto/DefaultURLHandler.h
@@ -0,0 +1,15 @@
+//
+// DefaultURLHandler.h
+// CopyMailto
+//
+// Created by tw on 9/5/18.
+// Copyright © 2018 tw. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+
+@interface DefaultURLHandler : NSObject
+
++ (void)saveDefaultURLHandler;
+
+@end