appletidle.c File Reference

#include <GestaltEqu.h>
#include <applet.h>
#include <appletmsg.h>
#include <appletmain.h>
#include "appletidle.h"

Include dependency graph for appletidle.c:

Go to the source code of this file.

Functions

static boolean callgestalt (long *ticks)
boolean getidletime (long *ticks)
static boolean resetsystemidlevisit (hdlappwindow appwindow)
void appresetsystemidle (EventRecord *ev)
boolean appuseractive (void)
static boolean systemidlevisit (hdlappwindow appwindow)
void appsystemidle (void)

Variables

static boolean flinterruptedbyuser = false
static long lasteventtickcount = 0


Function Documentation

void appresetsystemidle EventRecord ev  ) 
 

Definition at line 61 of file appletidle.c.

References autoKey, flinterruptedbyuser, getappwindow(), keyDown, lasteventtickcount, mouseDown, mouseUp, resetsystemidlevisit(), resumeFlag, and visitappwindows().

Referenced by appleteventhandler().

Here is the call graph for this function:

void appsystemidle void   ) 
 

Definition at line 216 of file appletidle.c.

References systemidlevisit(), and visitappwindows().

Referenced by appleteventhandler().

Here is the call graph for this function:

boolean appuseractive void   ) 
 

Definition at line 125 of file appletidle.c.

References app, tyappletrecord::appwindow, EventAvail(), everyEvent, flinterruptedbyuser, and getidletime().

Here is the call graph for this function:

static boolean callgestalt long ticks  )  [static]
 

Definition at line 23 of file appletidle.c.

References idle(), lasteventtickcount, and noErr.

Referenced by getidletime(), and resetsystemidlevisit().

Here is the call graph for this function:

boolean getidletime long ticks  ) 
 

Definition at line 34 of file appletidle.c.

References app, tyappletrecord::appwindow, and callgestalt().

Referenced by appuseractive(), and systemidlevisit().

Here is the call graph for this function:

static boolean resetsystemidlevisit hdlappwindow  appwindow  )  [static]
 

Definition at line 45 of file appletidle.c.

References assert, callgestalt(), and nil.

Referenced by appresetsystemidle().

Here is the call graph for this function:

static boolean systemidlevisit hdlappwindow  appwindow  )  [static]
 

Definition at line 162 of file appletidle.c.

References app, apppostcallback(), appprecallback(), tyappletrecord::appwindow, EventAvail(), everyEvent, flinterruptedbyuser, getidletime(), nil, tyappletrecord::preupdatecallback, and setappwindow().

Referenced by appsystemidle().

Here is the call graph for this function:


Variable Documentation

boolean flinterruptedbyuser = false [static]
 

Definition at line 16 of file appletidle.c.

Referenced by appresetsystemidle(), appuseractive(), and systemidlevisit().

long lasteventtickcount = 0 [static]
 

Definition at line 18 of file appletidle.c.

Referenced by appresetsystemidle(), and callgestalt().


Generated on Wed May 31 20:49:41 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6