SessionImpl.h revision 825c2485cf84eec495985ffd605a1c9cddee8c32
/** @file
*
* VBox Client Session COM Class definition
*/
/*
* Copyright (C) 2006-2010 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
* General Public License (GPL) as published by the Free Software
* Foundation, in version 2 as it comes in the "COPYING" file of the
* VirtualBox OSE distribution. VirtualBox OSE is distributed in the
* hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
*/
#ifndef ____H_SESSIONIMPL
#define ____H_SESSIONIMPL
#include "VirtualBoxBase.h"
#include "ConsoleImpl.h"
#ifdef RT_OS_WINDOWS
# include "win/resource.h"
#endif
/** @def VBOX_WITH_SYS_V_IPC_SESSION_WATCHER
* Use SYS V IPC for watching a session.
* This is defined in the Makefile since it's also used by MachineImpl.h/cpp.
*/
#ifdef DOXYGEN_RUNNING
# define VBOX_WITH_SYS_V_IPC_SESSION_WATCHER
#endif
#ifdef RT_OS_WINDOWS
#endif
{
void FinalRelease();
// public initializers/uninitializers only for internal purposes
void uninit();
// ISession properties
// ISession methods
// IInternalSessionControl methods
void releaseIPCSemaphore();
/* interprocess semaphore handle (id) for the opened machine */
#if defined(RT_OS_WINDOWS)
#elif defined(VBOX_WITH_SYS_V_IPC_SESSION_WATCHER)
int mIPCSem;
#else
# error "Port me!"
#endif
};
#endif // ____H_SESSIONIMPL
/* vi: set tabstop=4 shiftwidth=4 expandtab: */