GrafX2 2.9.3227
The ultimate 256-color painting program
haiku.h File Reference

Declarations of HAIKU specific functions. More...

#include "struct.h"
+ Include dependency graph for haiku.h:
+ This graph shows which files directly or indirectly include this file:

Functions

qword haiku_get_free_space (char *path)
 
char * haiku_get_clipboard ()
 
const char * haiku_get_app_path ()
 

Detailed Description

Declarations of HAIKU specific functions.

Haiku specific code was moved here, because the API is C++. It can't be compiled in the usual C files. So we provide a C wrapper to the functions we need.

Function Documentation

◆ haiku_get_free_space()

qword haiku_get_free_space ( char *  path)

Referenced by GFX2_DiskFreeSpace().

◆ haiku_get_clipboard()

char * haiku_get_clipboard ( )
Returns
NULL or a string that should be free()'d by the caller

References NULL.

Referenced by GFX2_GetTextClipboard().

◆ haiku_get_app_path()

const char * haiku_get_app_path ( )

References NULL.

Referenced by Get_program_directory().