< prev index next >

src/java.desktop/share/native/libsplashscreen/splashscreen_impl.h

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2005, 2012, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 2005, 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 28,51 **** #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 ! SPLASHEXPORT void SplashInit(void); ! SPLASHEXPORT void SplashClose(void); ! SPLASHEXPORT void SplashSetScaleFactor(float); ! SPLASHEXPORT jboolean SplashGetScaledImageName(const char*, const char*, float*, char*, const size_t scaledImageNameLength); ! SPLASHEXPORT void SplashSetFileJarName(const char* fileName, const char* jarName); ! SPLASHEXPORT int SplashGetScaledImgNameMaxPstfixLen(const char*); typedef struct SplashImage { rgbquad_t *bitmapBits; int delay; /* before next image display, in msec */ --- 28,60 ---- #include "splashscreen_config.h" #include "splashscreen_gfx.h" #include "jni.h" ! JNIEXPORT int JNICALL ! SplashLoadMemory(void *pdata, int size); /* requires preloading the file */ ! JNIEXPORT int JNICALL ! SplashLoadFile(const char *filename); // FIXME: range checking for SplashLoadMemory ! 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); ! JNIEXPORT void JNICALL SplashSetFileJarName(const char* fileName, const char* jarName); ! JNIEXPORT int JNICALL SplashGetScaledImgNameMaxPstfixLen(const char*); typedef struct SplashImage { rgbquad_t *bitmapBits; int delay; /* before next image display, in msec */
< prev index next >