com.github.axet.desktop.os.mac.foundation
Interface ApplicationServices

All Superinterfaces:
com.sun.jna.Library

public interface ApplicationServices
extends com.sun.jna.Library


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.sun.jna.Library
com.sun.jna.Library.Handler
 
Field Summary
static ApplicationServices INSTANCE
           
 
Fields inherited from interface com.sun.jna.Library
OPTION_ALLOW_OBJECTS, OPTION_CALLING_CONVENTION, OPTION_FUNCTION_MAPPER, OPTION_INVOCATION_MAPPER, OPTION_OPEN_FLAGS, OPTION_STRUCTURE_ALIGNMENT, OPTION_TYPE_MAPPER
 
Method Summary
 int LSSetDefaultHandlerForURLScheme(NSString inURLScheme, NSString inHandlerBundleID)
          OSStatus LSSetDefaultHandlerForURLScheme ( CFStringRef inURLScheme, CFStringRef inHandlerBundleID );
 int LSSetDefaultRoleHandlerForContentType(NSString inURLScheme, int inRole, NSString inHandlerBundleID)
          OSStatus LSSetDefaultRoleHandlerForContentType ( CFStringRef inContentType, LSRolesMask inRole, CFStringRef inHandlerBundleID );
 

Field Detail

INSTANCE

static final ApplicationServices INSTANCE
Method Detail

LSSetDefaultRoleHandlerForContentType

int LSSetDefaultRoleHandlerForContentType(NSString inURLScheme,
                                          int inRole,
                                          NSString inHandlerBundleID)
OSStatus LSSetDefaultRoleHandlerForContentType ( CFStringRef inContentType, LSRolesMask inRole, CFStringRef inHandlerBundleID );

Parameters:
inURLScheme -
inRole -
inHandlerBundleID -
Returns:

LSSetDefaultHandlerForURLScheme

int LSSetDefaultHandlerForURLScheme(NSString inURLScheme,
                                    NSString inHandlerBundleID)
OSStatus LSSetDefaultHandlerForURLScheme ( CFStringRef inURLScheme, CFStringRef inHandlerBundleID );

Parameters:
inURLScheme -
inHandlerBundleID -
Returns:


Copyright © 2013. All Rights Reserved.