DragAndDrop.h revision 2ad9f8a731c73f6ac74044d42d47bbaf6f44a566
/* $Id$ */
/** @file
* DnD: Shared functions between host and guest.
*/
/*
* Copyright (C) 2014 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 ___VBox_GuestHost_DragAndDrop_h
#define ___VBox_GuestHost_DragAndDrop_h
{
enum Type
{
Unknown = 0,
File,
};
const RTCString &strSrcPath,
const RTCString &strDstPath,
virtual ~DnDURIObject(void);
bool IsComplete(void) const;
static int RebaseURIPath(RTCString &strPath, const RTCString &strBaseOld, const RTCString &strBaseNew);
void closeInternal(void);
union
{
} u;
};
{
DnDURIList(void);
virtual ~DnDURIList(void);
void Clear(void);
void RemoveFirst(void);
/** List of all URI objects added. */
/** Total size of all URI objects, that is, the file
* size of all objects (in bytes). */
};
#endif /* ___VBox_GuestHost_DragAndDrop_h */