TokenImpl.h revision bf17ed67e9d9e0767b4432ae0043fea2e27434f2
/* $Id$ */
/** @file
*
* Token COM class implementations: MachineToken and MediumLockToken
*/
/*
* Copyright (C) 2013 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 TOKEN_IMPL_H_
#define TOKEN_IMPL_H_
#include "TokenWrap.h"
#include "MachineImpl.h"
/**
* The MachineToken class automates cleanup of a SessionMachine object.
*/
{
void FinalRelease();
// public initializer/uninitializer for internal purposes only
void uninit();
// wrapped IToken methods
// data
struct Data
{
Data()
{
}
};
Data m;
};
/**
* The MediumLockToken class automates cleanup of a Medium lock.
*/
{
void FinalRelease();
// public initializer/uninitializer for internal purposes only
void uninit();
// wrapped IToken methods
// data
struct Data
{
Data() :
fWrite(false)
{
}
bool fWrite;
};
Data m;
};
#endif // TOKEN_IMPL_H_
/* vi: set tabstop=4 shiftwidth=4 expandtab: */