Changed special MULTI_MIME to be used by both classes

This commit is contained in:
rods%netscape.com 1999-06-15 14:26:23 +00:00
parent ec65a771ea
commit 7acde07d29
3 changed files with 3 additions and 2 deletions

View File

@ -172,7 +172,7 @@ STDMETHODIMP nsDataObjCollection::GetDataHere(LPFORMATETC pFE, LPSTGMEDIUM pSTM)
//-----------------------------------------------------
STDMETHODIMP nsDataObjCollection::QueryGetData(LPFORMATETC pFE)
{
UINT format = nsClipboard::GetFormat("multiple");
UINT format = nsClipboard::GetFormat(MULTI_MIME);
PRNTDEBUG("nsDataObjCollection::QueryGetData ");
PRNTDEBUG3("format: %d Mulitple: %d\n", pFE->cfFormat, format);

View File

@ -27,6 +27,8 @@
class CEnumFormatEtc;
class nsITransferable;
#define MULTI_MIME "Mozilla/IDataObjectCollectionFormat"
/*
* This ole registered class is used to facilitate drag-drop of objects which
* can be adapted by an object derived from CfDragDrop. The CfDragDrop is

View File

@ -30,7 +30,6 @@
#include <OLE2.h>
#include "OLEIDL.H"
static const char * MULTI_MIME = "Mozilla/IDataObjectCollectionFormat";
static NS_DEFINE_IID(kIDragServiceIID, NS_IDRAGSERVICE_IID);
static NS_DEFINE_IID(kIDragSessionIID, NS_IDRAGSESSION_IID);