SharedFolderImpl.h revision 265ef973d4635dfd08710da8ecbce3c7bfbc2e73
/** @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.
*/
#ifndef ____H_SHAREDFOLDERIMPL
#define ____H_SHAREDFOLDERIMPL
#include "VirtualBoxBase.h"
#include "Collection.h"
{
struct Data
{
Data() {}
};
void FinalRelease();
// public initializer/uninitializer for internal purposes only
void uninit();
// ISharedFolder properties
// public methods for internal purposes only
// (ensure there is a caller and a read lock before calling them!)
// public methods that don't need a lock (because access constant data)
// (ensure there is a caller added before calling them!)
// for VirtualBoxSupportErrorInfoImpl
/* weak parents (only one of them is not null) */
};
{
if (!aName)
return E_INVALIDARG;
if (!aSharedFolder)
return E_POINTER;
*aSharedFolder = NULL;
{
++ it;
}
if (!found)
"Could not find the shared folder '%ls'"), aName);
}
#endif // ____H_SHAREDFOLDERIMPL
/* vi: set tabstop=4 shiftwidth=4 expandtab: */