libgnt/libgnt

make gnt.h a single include file

2020-08-13, Gary Kramlich
23e34422bea8
make gnt.h a single include file

Move the ncurses bits to a new gntncurses.h.in setup

Move all the function prototypes from gnt.h to gntmain.h since thats where they should be

Move the KEY_EVENT undef to gntncurses.h as that's where it is needed

create a global header file and don't let the library use it

Add the single include header guards and deal with fall out

Testing Done:
Compile testing and ran all of the manual tests.

Reviewed at https://reviews.imfreedom.org/r/62/
foreach prog : ['combo', 'focus', 'tv', 'multiwin', 'keys', 'menu', 'parse']
executable(prog,
prog + '.c',
c_args : '-DSTANDALONE',
dependencies : [libgnt_dep, gobject, gmodule])
endforeach
shared_library('wm',
'wm.c',
name_prefix : '',
dependencies : [libgnt_dep, gobject, gmodule])