< prev index next >
src/java.desktop/share/native/libsplashscreen/splashscreen_impl.h
Print this page
@@ -1,7 +1,7 @@
/*
- * Copyright (c) 2005, 2012, Oracle and/or its affiliates. All rights reserved.
+ * 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,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 >