sbDeviceEvent.h File Reference
#include <nsIVariant.h>
#include "sbIDeviceEvent.h"
#include <nsCOMPtr.h>
#include "sbIDeviceEventTarget.h"
Include dependency graph for sbDeviceEvent.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  sbDeviceEvent
 

Macros

#define SBDEVICEEVENT_IID
 
#define NS_FORWARD_SAFE_SBDEVICEEVENT(_to)
 

Macro Definition Documentation

#define NS_FORWARD_SAFE_SBDEVICEEVENT (   _to)
Value:
void Dispatch() { NS_ASSERTION(_to, "_to is null"); if (_to) _to->Dispatch(); } \
PRBool WasDispatched() { NS_ASSERTION(_to, "_to is null"); return !_to ? PR_FALSE : _to->WasDispatched(); } \
nsresult SetTarget(sbIDeviceEventTarget* aTarget) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetTarget(aTarget); }

Definition at line 84 of file sbDeviceEvent.h.

#define SBDEVICEEVENT_IID
Value:
{0xad7c89b5, 0x52f8, 0x487f, \
{ 0x90, 0xf7, 0x2f, 0x79, 0xab, 0x8a, 0x84, 0x6b } }

Definition at line 36 of file sbDeviceEvent.h.