|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.jna.Structure
com.ochafik.lang.jnaerator.runtime.Structure<LSApplicationParameters,LSApplicationParameters.ByValue,LSApplicationParameters.ByReference>
org.rococoa.cocoa.launchservices.LSApplicationParameters
public class LSApplicationParameters
LSApplicationParameters
* This structure is used by the new LSOpen functions to specify
an application, launch flags, and additional parameters
controlling how an application is launched.
* A version field allows the structure to be extended in
future releases.
native declaration : /System/Library/Frameworks/CoreServices.framework/Versions/Current/Frameworks/LaunchServices.framework/Headers/LSOpen.h:249
This file was autogenerated by JNAerator,
a tool written by Olivier Chafik that uses a few opensource projects..
For help, please visit NativeLibs4Java, Rococoa, or JNA.
Nested Class Summary | |
---|---|
static class |
LSApplicationParameters.ByReference
|
static class |
LSApplicationParameters.ByValue
|
Field Summary | |
---|---|
FSRef.ByReference |
application
The application to open (and possibly handle documents/URLs) C type : const FSRef* |
HIServicesLibrary.__CFArray |
argv
(a dictionary of CFStringRef keys and values). |
Pointer |
asyncLaunchRefCon
The client refCon which will appear in subsequent launch notifications C type : void* |
HIServicesLibrary.__CFDictionary |
environment
Environment variables to set in the launched process C type : CFDictionaryRef |
int |
flags
See the LSLaunchFlags enum C type : LSLaunchFlags |
AEDesc.ByReference |
initialEvent
(which must be CFStringRefs) are passed as arguments to main() in the launched process. |
NativeLong |
version
This must be set to zero by the client C type : CFIndex |
Fields inherited from class com.sun.jna.Structure |
---|
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE |
Constructor Summary | |
---|---|
LSApplicationParameters()
|
|
LSApplicationParameters(NativeLong version,
int flags,
FSRef.ByReference application,
Pointer asyncLaunchRefCon,
HIServicesLibrary.__CFDictionary environment,
HIServicesLibrary.__CFArray argv,
AEDesc.ByReference initialEvent)
|
Method Summary | |
---|---|
static LSApplicationParameters[] |
newArray(int arrayLength)
|
Methods inherited from class com.ochafik.lang.jnaerator.runtime.Structure |
---|
byReference, byValue, castToArray, castToArray, castToArray, castToReferenceArray, castToReferenceArray, castToValueArray, castToValueArray, clone, compareTo, newArray, read, setDependency, toArray, toArray, toArray, toReferenceArray, toReferenceArray, toValueArray, toValueArray, use, use, use, use, write |
Methods inherited from class com.sun.jna.Structure |
---|
autoRead, autoRead, autoWrite, autoWrite, clear, equals, getAutoRead, getAutoWrite, getPointer, hashCode, newInstance, readField, setAutoRead, setAutoSynch, setAutoWrite, size, toString, writeField, writeField |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.ochafik.lang.jnaerator.runtime.StructureType |
---|
getPointer, size |
Field Detail |
---|
public NativeLong version
public int flags
public FSRef.ByReference application
public Pointer asyncLaunchRefCon
public HIServicesLibrary.__CFDictionary environment
public HIServicesLibrary.__CFArray argv
public AEDesc.ByReference initialEvent
Constructor Detail |
---|
public LSApplicationParameters()
public LSApplicationParameters(NativeLong version, int flags, FSRef.ByReference application, Pointer asyncLaunchRefCon, HIServicesLibrary.__CFDictionary environment, HIServicesLibrary.__CFArray argv, AEDesc.ByReference initialEvent)
version
- This must be set to zero by the clientflags
- See the LSLaunchFlags enumapplication
- The application to open (and possibly handle documents/URLs)asyncLaunchRefCon
- The client refCon which will appear in subsequent launch notificationsenvironment
- Environment variables to set in the launched processargv
- (a dictionary of CFStringRef keys and values). Can be NULL.initialEvent
- (which must be CFStringRefs) are passed as arguments to main() in the launched process.Method Detail |
---|
public static LSApplicationParameters[] newArray(int arrayLength)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |