Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Static Public Member Functions | Private Types | Static Private Member Functions | Private Attributes
nsWatchTask Class Reference

#include <nsWatchTask.h>

List of all members.

Public Member Functions

 nsWatchTask ()
 ~nsWatchTask ()
NS_GFX void Start ()
NS_GFX void EventLoopReached ()
void Suspend ()
void Resume ()

Static Public Member Functions

static NS_GFX nsWatchTaskGetTask ()

Private Types

enum  { kRepeatInterval = 10, kTicksToShowWatch = 45, kStepsInAnimation = 12 }

Static Private Member Functions

static pascal void DoWatchTask (nsWatchTask *theTaskPtr)

Private Attributes

VBLTask mTask
long mChecksum
voidmSelf
long mTicks
Cursor mWatchCursor
PRPackedBool mBusy
PRPackedBool mSuspended
PRPackedBool mInstallSucceeded
short mAnimation

Detailed Description

Definition at line 58 of file nsWatchTask.h.


Member Enumeration Documentation

anonymous enum [private]
Enumerator:
kRepeatInterval 
kTicksToShowWatch 
kStepsInAnimation 

Definition at line 81 of file nsWatchTask.h.

       { 
    kRepeatInterval = 10,       // check every 1/6 of a second if we should show watch (10/60)
    kTicksToShowWatch = 45,     // show watch if haven't seen WNE for 3/4 second (45/60)
    kStepsInAnimation = 12
  };

Constructor & Destructor Documentation


Member Function Documentation

static pascal void nsWatchTask::DoWatchTask ( nsWatchTask theTaskPtr) [static, private]
static NS_GFX nsWatchTask& nsWatchTask::GetTask ( ) [static]
void nsWatchTask::Resume ( void  ) [inline]

Definition at line 75 of file nsWatchTask.h.

void nsWatchTask::Suspend ( void  ) [inline]

Definition at line 74 of file nsWatchTask.h.


Member Data Documentation

short nsWatchTask::mAnimation [private]

Definition at line 100 of file nsWatchTask.h.

Definition at line 97 of file nsWatchTask.h.

Definition at line 93 of file nsWatchTask.h.

Definition at line 99 of file nsWatchTask.h.

Definition at line 94 of file nsWatchTask.h.

Definition at line 98 of file nsWatchTask.h.

VBLTask nsWatchTask::mTask [private]

Definition at line 91 of file nsWatchTask.h.

Definition at line 95 of file nsWatchTask.h.

Definition at line 96 of file nsWatchTask.h.


The documentation for this class was generated from the following file: