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

Definition of Haiku specific functions. More...

#include <Clipboard.h>
#include <Entry.h>
#include <image.h>
#include <Volume.h>
#include <stdio.h>
#include <string.h>
#include "haiku.h"
+ Include dependency graph for haiku.cpp:

Functions

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

Detailed Description

Definition of Haiku specific functions.

Haiku API is C++, so this is C++ code exporting as C symbols to be called by GrafX2 C code.

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().