From a82f2721e64b24591a428080e222b0e8c5f3831b Mon Sep 17 00:00:00 2001 From: Ole Loots Date: Wed, 23 Nov 2011 19:56:20 +0000 Subject: Add global function to resolve Netsurf input key. svn path=/trunk/netsurf/; revision=13165 --- atari/misc.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'atari/misc.h') diff --git a/atari/misc.h b/atari/misc.h index 2642b395f..6cde35ae4 100755 --- a/atari/misc.h +++ b/atari/misc.h @@ -17,7 +17,10 @@ */ #ifndef NS_ATARI_MISC_H -#define NS_ATARI_MISC_H +#define NS_ATARI_MISC_H + +#include "cflib.h" +#include "desktop/textinput.h" #define SBUF8_TO_LBUF8(sbuf,lbuf)\ lbuf[0] = (long)sbuf[0];\ @@ -38,5 +41,6 @@ void gem_set_cursor( MFORM_EX * cursor ); void dbg_grect( char * str, GRECT * r ); void * ldg_open( char * name, short * global ); void * ldg_find( char * name, short * ldg ); -int ldg_close( void * ldg, short * global ); +int ldg_close( void * ldg, short * global ); +long nkc_to_input_key(short nkc, long * ucs4_out); #endif -- cgit v1.2.3