Helper.h revision 677833bc953b6cb418c701facbdcf4aa18d6c44e
0N/A/** @file
1879N/A *
0N/A * VBox frontends: VBoxSDL (simple frontend based on SDL):
0N/A * Miscellaneous helpers header
0N/A */
0N/A
0N/A/*
0N/A * Copyright (C) 2006 InnoTek Systemberatung GmbH
0N/A *
0N/A * This file is part of VirtualBox Open Source Edition (OSE), as
0N/A * available from http://www.virtualbox.org. This file is free software;
0N/A * you can redistribute it and/or modify it under the terms of the GNU
0N/A * General Public License as published by the Free Software Foundation,
0N/A * in version 2 as it comes in the "COPYING" file of the VirtualBox OSE
0N/A * distribution. VirtualBox OSE is distributed in the hope that it will
0N/A * be useful, but WITHOUT ANY WARRANTY of any kind.
0N/A *
0N/A * If you received this file as part of a commercial VirtualBox
1472N/A * distribution, then only the terms of your commercial VirtualBox
1472N/A * license agreement apply instead of the previous paragraph.
1472N/A */
0N/A
0N/A#ifndef __H_HELPER
0N/A#define __H_HELPER
1879N/A
1879N/A#ifdef __LINUX__
1879N/A
1879N/A/**
1879N/A * Creates the XPCOM event thread
0N/A *
0N/A * @returns VBOX status code
0N/A * @param eqFD XPCOM event queue file descriptor
0N/A */
0N/Aint startXPCOMEventQueueThread(int eqFD);
0N/A
0N/A/**
1145N/A * Signal to the XPCOM even queue thread that it should select for more events.
0N/A */
1145N/Avoid signalXPCOMEventQueueThread(void);
1145N/A
1145N/A/**
0N/A * Indicates to the XPCOM thread that it should terminate now.
0N/A */
0N/Avoid terminateXPCOMQueueThread(void);
0N/A
1879N/A#endif /* __LINUX__ */
1879N/A
#endif // __H_HELPER