diff options
author | Vincent Sanders <vince@kyllikki.org> | 2016-04-20 10:43:58 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2016-04-20 10:43:58 +0100 |
commit | 3930d00519bbcee968a804b1f445c1638531cc15 (patch) | |
tree | 33ff87e76dd6f95d0e4eba80019149bbe59a6001 /atari/misc.h | |
parent | 759c34b32447417faeec20513a0e586230f246cd (diff) | |
download | netsurf-3930d00519bbcee968a804b1f445c1638531cc15.tar.gz netsurf-3930d00519bbcee968a804b1f445c1638531cc15.tar.bz2 |
atari header cleanup and warning squash
This rationalises atari platform user of headers and squashes a lot of
warnings. Should not be viewed as real maintenance, more that it was
getting in the way of fixing real core header issues.
Diffstat (limited to 'atari/misc.h')
-rw-r--r-- | atari/misc.h | 30 |
1 files changed, 22 insertions, 8 deletions
diff --git a/atari/misc.h b/atari/misc.h index 418f28308..a0e53d11e 100644 --- a/atari/misc.h +++ b/atari/misc.h @@ -19,11 +19,6 @@ #ifndef NS_ATARI_MISC_H #define NS_ATARI_MISC_H -#include "cflib.h" -#include "content/content.h" -#include "content/hlcache.h" -#include "desktop/textinput.h" -#include "atari/gui.h" #define SBUF8_TO_LBUF8(sbuf,lbuf)\ lbuf[0] = (long)sbuf[0];\ @@ -47,23 +42,42 @@ #define BY_WINDOM_HANDLE 0x0 #define BY_GEM_HANDLE 0x1 +/** + */ typedef int (*scan_process_callback)(int pid, void *data); +/** + */ struct gui_window * find_guiwin_by_aes_handle(short handle); + +/** + */ bool is_process_running(const char * name); + +/** + */ void gem_set_cursor( MFORM_EX * cursor ); -hlcache_handle *load_icon( const char *name, hlcache_handle_callback cb, - void * pw ); + +/** + */ void dbg_grect(const char * str, GRECT * r); + +/** + */ void dbg_pxy(const char * str, short * pxy); + +/** + */ void dbg_rect(const char * str, int * pxy); +/** + */ const char * file_select(const char * title, const char * name); /** * Convert NKC (atari normalized key code) to netsurf * Input key code and/or to ucs4 (depends on keycode). -*/ + */ long nkc_to_input_key(short nkc, long * ucs4_out); /** |