FramebufferImpl.cpp revision f72c738303657be33353a4c16d2eec1c3b61a490
/** @file
*
* VirtualBox COM class implementation
*/
/*
* Copyright (C) 2006-2007 Sun Microsystems, Inc.
*
* 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.
*
* Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
* Clara, CA 95054 USA or visit http://www.sun.com if you need
* additional information or have any questions.
*/
#include "FramebufferImpl.h"
#include <iprt/semaphore.h>
// constructor / destructor
/////////////////////////////////////////////////////////////////////////////
{
}
{
if (mData)
delete mData;
}
// public methods only for internal purposes
/////////////////////////////////////////////////////////////////////////////
{
return S_OK;
}
// IFramebuffer properties
/////////////////////////////////////////////////////////////////////////////
{
return S_OK;
}
{
return S_OK;
}
{
return S_OK;
}
{
return S_OK;
}
{
return S_OK;
}
{
return S_OK;
}
{
*usesGuestVRAM = FALSE;
return S_OK;
}
{
/* no reduction */
*heightReduction = 0;
return S_OK;
}
{
/* no overlay */
*aOverlay = 0;
return S_OK;
}
{
*winId = 0;
return S_OK;
}
// IFramebuffer methods
/////////////////////////////////////////////////////////////////////////////
{
return S_OK;
}
{
return S_OK;
}
{
// no need for the caller to wait
*finished = true;
return S_OK;
}
{
// no need for the caller to wait
*finished = true;
// allocate a new buffer
delete mData;
mWidth = w;
mHeight = h;
return S_OK;
}
{
/* whatever you want! */
*supported = true;
return S_OK;
}
{
/// @todo
return S_OK;
}
{
/// @todo
return S_OK;
}
/* vi: set tabstop=4 shiftwidth=4 expandtab: */