Back to index

lightning-sunbird  0.9+nobinonly
Defines | Functions | Variables
nsNativeDragTarget.cpp File Reference
#include <stdio.h>
#include "nsIDragService.h"
#include "nsWidgetsCID.h"
#include "nsNativeDragTarget.h"
#include "nsDragService.h"
#include "nsIServiceManager.h"
#include "nsIDOMNode.h"
#include "nsCOMPtr.h"
#include "nsIWidget.h"
#include "nsWindow.h"

Go to the source code of this file.

Defines

#define DRAG_DEBUG   0

Functions

static NS_DEFINE_IID (kCDragServiceCID, NS_DRAGSERVICE_CID)
static NS_DEFINE_IID (kIDragServiceIID, NS_IDRAGSERVICE_IID)
 STDMETHODIMP_ (ULONG) nsNativeDragTarget
PRBool IsKeyDown (char key)

Variables

static POINTL gDragLastPoint

Define Documentation

#define DRAG_DEBUG   0

Definition at line 57 of file nsNativeDragTarget.cpp.


Function Documentation

PRBool IsKeyDown ( char  key) [inline]

Definition at line 176 of file nsNativeDragTarget.cpp.

{
  return GetKeyState(key) < 0;
}

Here is the caller graph for this function:

static NS_DEFINE_IID ( kCDragServiceCID  ,
NS_DRAGSERVICE_CID   
) [static]
static NS_DEFINE_IID ( kIDragServiceIID  ,
NS_IDRAGSERVICE_IID   
) [static]

Definition at line 127 of file nsNativeDragTarget.cpp.

{
  --m_cRef;
  NS_LOG_RELEASE(this, m_cRef, "nsNativeDragTarget");
  if (0 != m_cRef)
    return m_cRef;

  delete this;
  return 0;
}

Variable Documentation

POINTL gDragLastPoint [static]

Definition at line 66 of file nsNativeDragTarget.cpp.