diff options
author | bothorel | 2000-01-19 19:07:12 +0000 |
---|---|---|
committer | bothorel | 2000-01-19 19:07:12 +0000 |
commit | 09f4adbc91893a5ec938eeb0b5a317f38e6c4b7b (patch) | |
tree | d440940725d33fd974716ba23db0509772e8bca3 /src/ivygtkloop.h | |
parent | 76b3033e9dc3cf307d2ec71f65d94bc3a0c69195 (diff) | |
download | ivy-c-09f4adbc91893a5ec938eeb0b5a317f38e6c4b7b.zip ivy-c-09f4adbc91893a5ec938eeb0b5a317f38e6c4b7b.tar.gz ivy-c-09f4adbc91893a5ec938eeb0b5a317f38e6c4b7b.tar.bz2 ivy-c-09f4adbc91893a5ec938eeb0b5a317f38e6c4b7b.tar.xz |
*** empty log message ***
Diffstat (limited to 'src/ivygtkloop.h')
-rw-r--r-- | src/ivygtkloop.h | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/src/ivygtkloop.h b/src/ivygtkloop.h new file mode 100644 index 0000000..fd92349 --- /dev/null +++ b/src/ivygtkloop.h @@ -0,0 +1,55 @@ +/* + * Ivy, C interface + * + * Copyright (C) 1997-1999 + * Centre d'Études de la Navigation Aérienne + * + * Main loop based on GTK Toolkit + * + * Authors: François-Régis Colin <colin@tls.cena.fr> + * + * $Id$ + * + * Please refer to file version.h for the + * copyright notice regarding this software + */ + +#ifndef IVYGTKLOOP_H +#define IVYGTKLOOP_H + +#ifdef __cplusplus +extern "C" { +#endif + + +/* general Handle */ + +#define ANYPORT 0 + +#ifdef WIN32 +#include <windows.h> +#define HANDLE SOCKET +#else +#define HANDLE int +#endif + +#include "ivychannel.h" + +extern void IvyGtkChannelInit(void); + +extern Channel IvyGtkChannelSetUp( + HANDLE fd, + void *data, + ChannelHandleDelete handle_delete, + ChannelHandleRead handle_read +); + +extern void IvyGtkChannelClose( Channel channel ); + + +#ifdef __cplusplus +} +#endif + +#endif + |