open Udiff src/java.desktop/share/native/libsplashscreen/splashscreen_impl.h (original) (raw)

< prev index next >

Print this page


@@ -1,7 +1,7 @@ /*


@@ -28,24 +28,33 @@

#include "splashscreen_config.h" #include "splashscreen_gfx.h" #include "jni.h"

-SPLASHEXPORT int SplashLoadMemory(void pdata, int size); / requires preloading the file */ -SPLASHEXPORT int SplashLoadFile(const char *filename); // FIXME: range checking for SplashLoadMemory +JNIEXPORT int JNICALL +SplashLoadMemory(void pdata, int size); / requires preloading the file */

-SPLASHEXPORT void SplashInit(void); -SPLASHEXPORT void SplashClose(void); +JNIEXPORT int JNICALL +SplashLoadFile(const char *filename); // FIXME: range checking for SplashLoadMemory

-SPLASHEXPORT void SplashSetScaleFactor(float); -SPLASHEXPORT jboolean SplashGetScaledImageName(const char*, const char*, +JNIEXPORT void JNICALL +SplashInit(void); + +JNIEXPORT void JNICALL +SplashClose(void); + +JNIEXPORT void JNICALL +SplashSetScaleFactor(float); + +JNIEXPORT jboolean JNICALL +SplashGetScaledImageName(const char*, const char*, float*, char*, const size_t scaledImageNameLength);

-SPLASHEXPORT void +JNIEXPORT void JNICALL SplashSetFileJarName(const char* fileName, const char* jarName);

-SPLASHEXPORT int +JNIEXPORT int JNICALL SplashGetScaledImgNameMaxPstfixLen(const char*); typedef struct SplashImage { rgbquad_t bitmapBits; int delay; / before next image display, in msec */

< prev index next >