Another major change round. VNC moved to top level. More cleanups of global data, all VM processing now handled in pc.c (out of the platforms, yay!), and some video cleanups. This build MAY have issues with window sizes, resizing, and fullscreen will not work until the next build- sorry.

This commit is contained in:
waltje
2017-10-19 04:27:04 -04:00
parent bcffcb4d22
commit 1d60a99ea3
36 changed files with 1244 additions and 1001 deletions

38
src/vnc.h Normal file
View File

@@ -0,0 +1,38 @@
/*
* 86Box A hypervisor and IBM PC system emulator that specializes in
* running old operating systems and software designed for IBM
* PC systems and compatibles from 1981 through fairly recent
* system designs based on the PCI bus.
*
* This file is part of the 86Box distribution.
*
* Definitions for the VNC renderer.
*
* Version: @(#)vnc.h 1.0.3 2017/10/18
*
* Authors: RichardG, <richardg867@gmail.com>
* Fred N. van Kempen, <decwiz@yahoo.com>
*
* Copyright 2017 Fred N. van Kempen.
*/
#ifndef EMU_VNC_H
# define EMU_VNC_H
#ifdef __cplusplus
extern "C" {
#endif
extern int vnc_init(void *);
extern void vnc_close(void);
extern void vnc_resize(int x, int y);
extern int vnc_pause(void);
extern void vnc_take_screenshot(wchar_t *fn);
#ifdef __cplusplus
}
#endif
#endif /*EMU_VNC_H*/