From da31291a965ea898a59a0859c7e455144eaea195 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Wed, 5 Sep 2018 19:00:55 +0200 Subject: 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. --- CopyMailto/DefaultURLHandler.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 CopyMailto/DefaultURLHandler.h (limited to 'CopyMailto/DefaultURLHandler.h') 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 + +@interface DefaultURLHandler : NSObject + ++ (void)saveDefaultURLHandler; + +@end -- cgit v1.2.3