equal
deleted
inserted
replaced
31 /* |
31 /* |
32 * Prototypes of pointers to functions in splashscreen shared lib |
32 * Prototypes of pointers to functions in splashscreen shared lib |
33 */ |
33 */ |
34 typedef int (*SplashLoadMemory_t)(void* pdata, int size); |
34 typedef int (*SplashLoadMemory_t)(void* pdata, int size); |
35 typedef int (*SplashLoadFile_t)(const char* filename); |
35 typedef int (*SplashLoadFile_t)(const char* filename); |
36 typedef void (*SplashInit_t)(void); |
36 typedef int (*SplashInit_t)(void); |
37 typedef void (*SplashClose_t)(void); |
37 typedef void (*SplashClose_t)(void); |
38 typedef void (*SplashSetFileJarName_t)(const char* fileName, |
38 typedef void (*SplashSetFileJarName_t)(const char* fileName, |
39 const char* jarName); |
39 const char* jarName); |
40 typedef void (*SplashSetScaleFactor_t)(float scaleFactor); |
40 typedef void (*SplashSetScaleFactor_t)(float scaleFactor); |
41 typedef jboolean (*SplashGetScaledImageName_t)(const char* fileName, |
41 typedef jboolean (*SplashGetScaledImageName_t)(const char* fileName, |
69 |
69 |
70 int DoSplashLoadFile(const char* filename) { |
70 int DoSplashLoadFile(const char* filename) { |
71 INVOKE(SplashLoadFile, 0)(filename); |
71 INVOKE(SplashLoadFile, 0)(filename); |
72 } |
72 } |
73 |
73 |
74 void DoSplashInit(void) { |
74 int DoSplashInit(void) { |
75 INVOKEV(SplashInit)(); |
75 INVOKE(SplashInit, 0)(); |
76 } |
76 } |
77 |
77 |
78 void DoSplashClose(void) { |
78 void DoSplashClose(void) { |
79 INVOKEV(SplashClose)(); |
79 INVOKEV(SplashClose)(); |
80 } |
80 } |