javauis/eswt_qt/org.eclipse.swt/Eclipse_SWT_PI/qt/library/jniutils.h
changeset 80 d6dafc5d983f
parent 35 85266cc22c7f
equal deleted inserted replaced
78:71ad690e91f5 80:d6dafc5d983f
   328 
   328 
   329     /**
   329     /**
   330      * Creates a native image object based on the given image data object.
   330      * Creates a native image object based on the given image data object.
   331      * @param aEnv JNI environment for the thread
   331      * @param aEnv JNI environment for the thread
   332      * @param aJavaImageData Java side image data object
   332      * @param aJavaImageData Java side image data object
       
   333      * @param aType The native type of the image to be created 
   333      * @return Native image object
   334      * @return Native image object
   334      */
   335      */
   335     Java::GFX::Image* CreateImage(JNIEnv* aEnv, jobject& aJavaImageData);
   336     Java::GFX::Image* CreateImage(JNIEnv* aEnv, jobject& aJavaImageData, jint aType);
   336 
   337 
   337     /**
   338     /**
   338      * Checks if in terms of event processing the object can be deleted. Used 
   339      * Checks if in terms of event processing the object can be deleted. Used 
   339      * to prevent objects from getting deleted inside their event listeners. 
   340      * to prevent objects from getting deleted inside their event listeners. 
   340      * @param aPtrToDelete Pointer to the deletion candidate object. 
   341      * @param aPtrToDelete Pointer to the deletion candidate object.