VBoxSDL.h revision 178020c30cf77bb39f38497c6efe5dd41193db56
af062818b47340eef15700d2f0211576ba3506eevboxsync * VBox frontends: VBoxSDL (simple frontend based on SDL):
af062818b47340eef15700d2f0211576ba3506eevboxsync * Main header
af062818b47340eef15700d2f0211576ba3506eevboxsync * Copyright (C) 2006-2007 innotek GmbH
af062818b47340eef15700d2f0211576ba3506eevboxsync * This file is part of VirtualBox Open Source Edition (OSE), as
af062818b47340eef15700d2f0211576ba3506eevboxsync * available from http://www.virtualbox.org. This file is free software;
af062818b47340eef15700d2f0211576ba3506eevboxsync * you can redistribute it and/or modify it under the terms of the GNU
af062818b47340eef15700d2f0211576ba3506eevboxsync * General Public License as published by the Free Software Foundation,
af062818b47340eef15700d2f0211576ba3506eevboxsync * in version 2 as it comes in the "COPYING" file of the VirtualBox OSE
af062818b47340eef15700d2f0211576ba3506eevboxsync * distribution. VirtualBox OSE is distributed in the hope that it will
af062818b47340eef15700d2f0211576ba3506eevboxsync * be useful, but WITHOUT ANY WARRANTY of any kind.
af062818b47340eef15700d2f0211576ba3506eevboxsync * If you received this file as part of a commercial VirtualBox
af062818b47340eef15700d2f0211576ba3506eevboxsync * distribution, then only the terms of your commercial VirtualBox
af062818b47340eef15700d2f0211576ba3506eevboxsync * license agreement apply instead of the previous paragraph.
b955672b950093ff7416d1269dd4d3b69983bd8fvboxsync#ifdef __WIN__ /** @todo check why we need to do this on windows. */
b955672b950093ff7416d1269dd4d3b69983bd8fvboxsync/* convince SDL to not overload main() */
af062818b47340eef15700d2f0211576ba3506eevboxsync/* include this first so Windows.h get's in before our stuff. */
af062818b47340eef15700d2f0211576ba3506eevboxsync/** custom SDL event for display update handling */
af062818b47340eef15700d2f0211576ba3506eevboxsync#define SDL_USER_EVENT_UPDATERECT (SDL_USEREVENT + 4)
af062818b47340eef15700d2f0211576ba3506eevboxsync/** custom SDL event for resize handling */
af062818b47340eef15700d2f0211576ba3506eevboxsync/** custom SDL for XPCOM event queue processing */
af062818b47340eef15700d2f0211576ba3506eevboxsync#define SDL_USER_EVENT_XPCOM_EVENTQUEUE (SDL_USEREVENT + 6)
af062818b47340eef15700d2f0211576ba3506eevboxsync/** custom SDL event for updating the titlebar */
af062818b47340eef15700d2f0211576ba3506eevboxsync#define SDL_USER_EVENT_UPDATE_TITLEBAR (SDL_USEREVENT + 7)
af062818b47340eef15700d2f0211576ba3506eevboxsync/** custom SDL user event for terminating the session */
af062818b47340eef15700d2f0211576ba3506eevboxsync#define SDL_USER_EVENT_TERMINATE (SDL_USEREVENT + 8)
af062818b47340eef15700d2f0211576ba3506eevboxsync/** custom SDL user event for secure label update notification */
af062818b47340eef15700d2f0211576ba3506eevboxsync#define SDL_USER_EVENT_SECURELABEL_UPDATE (SDL_USEREVENT + 9)
af062818b47340eef15700d2f0211576ba3506eevboxsync/** custom SDL user event for pointer shape change request */
af062818b47340eef15700d2f0211576ba3506eevboxsync#define SDL_USER_EVENT_POINTER_CHANGE (SDL_USEREVENT + 10)
af062818b47340eef15700d2f0211576ba3506eevboxsync/** custom SDL user event for a regular timer */
af062818b47340eef15700d2f0211576ba3506eevboxsync/** custom SDL user event for resetting mouse cursor */
af062818b47340eef15700d2f0211576ba3506eevboxsync#define SDL_USER_EVENT_GUEST_CAP_CHANGED (SDL_USEREVENT + 12)
af062818b47340eef15700d2f0211576ba3506eevboxsync/** custom SDL user event for window resize down */
af062818b47340eef15700d2f0211576ba3506eevboxsync#define SDL_USER_EVENT_WINDOW_RESIZE_DONE (SDL_USEREVENT + 13)
af062818b47340eef15700d2f0211576ba3506eevboxsync/** The user.code field of the SDL_USER_EVENT_TERMINATE event.
af062818b47340eef15700d2f0211576ba3506eevboxsync/** Normal termination. */
af062818b47340eef15700d2f0211576ba3506eevboxsync/** Abnormal termination. */
af062818b47340eef15700d2f0211576ba3506eevboxsync#endif /* VBOX_WIN32_UI */
af062818b47340eef15700d2f0211576ba3506eevboxsync#endif // __H_VBOXSDL