Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines | Enumerations
nsTimerImpl.h File Reference
#include "nsITimer.h"
#include "nsVoidArray.h"
#include "nsIThread.h"
#include "nsITimerInternal.h"
#include "nsIObserver.h"
#include "nsCOMPtr.h"
#include "prlog.h"
#include "nsITimerManager.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  nsTimerImpl
class  nsTimerManager

Defines

#define NS_TIMER_CLASSNAME   "Timer"
#define NS_TIMER_CID
#define DELAY_INTERVAL_LIMIT   PR_BIT(8 * sizeof(PRIntervalTime) - 1)
#define DELAY_INTERVAL_MAX   (DELAY_INTERVAL_LIMIT - 1)
#define TIMER_LESS_THAN(t, u)   ((t) - (u) > DELAY_INTERVAL_LIMIT)
#define NS_TIMERMANAGER_CONTRACTID   "@mozilla.org/timer/manager;1"
#define NS_TIMERMANAGER_CLASSNAME   "Timer Manager"
#define NS_TIMERMANAGER_CID

Enumerations

enum  { CALLBACK_TYPE_UNKNOWN = 0, CALLBACK_TYPE_INTERFACE = 1, CALLBACK_TYPE_FUNC = 2, CALLBACK_TYPE_OBSERVER = 3 }

Define Documentation

Definition at line 80 of file nsTimerImpl.h.

Definition at line 83 of file nsTimerImpl.h.

Value:
{ /* 5ff24248-1dd2-11b2-8427-fbab44f29bc8 */         \
     0x5ff24248,                                     \
     0x1dd2,                                         \
     0x11b2,                                         \
    {0x84, 0x27, 0xfb, 0xab, 0x44, 0xf2, 0x9b, 0xc8} \
}

Definition at line 64 of file nsTimerImpl.h.

#define NS_TIMER_CLASSNAME   "Timer"

Definition at line 63 of file nsTimerImpl.h.

Value:
{ /* 4fe206fa-1dd2-11b2-8a0a-88bacbecc7d2 */         \
     0x4fe206fa,                                     \
     0x1dd2,                                         \
     0x11b2,                                         \
    {0x8a, 0x0a, 0x88, 0xba, 0xcb, 0xec, 0xc7, 0xd2} \
}

Definition at line 168 of file nsTimerImpl.h.

#define NS_TIMERMANAGER_CLASSNAME   "Timer Manager"

Definition at line 167 of file nsTimerImpl.h.

#define NS_TIMERMANAGER_CONTRACTID   "@mozilla.org/timer/manager;1"

Definition at line 166 of file nsTimerImpl.h.

#define TIMER_LESS_THAN (   t,
 
)    ((t) - (u) > DELAY_INTERVAL_LIMIT)

Definition at line 86 of file nsTimerImpl.h.


Enumeration Type Documentation

anonymous enum
Enumerator:
CALLBACK_TYPE_UNKNOWN 
CALLBACK_TYPE_INTERFACE 
CALLBACK_TYPE_FUNC 
CALLBACK_TYPE_OBSERVER 

Definition at line 72 of file nsTimerImpl.h.