Back to index

lightning-sunbird  0.9+nobinonly
Functions
nsFileSelector.cpp File Reference
#include "nsFileSelector.h"
#include "nsAppleSingleDecoder.h"

Go to the source code of this file.

Functions

pascal void OurNavEventFunction (NavEventCallbackMessage callBackSelector, NavCBRecPtr callBackParms, NavCallBackUserData callBackUD)

Function Documentation

pascal void OurNavEventFunction ( NavEventCallbackMessage  callBackSelector,
NavCBRecPtr  callBackParms,
NavCallBackUserData  callBackUD 
)

Definition at line 58 of file nsFileSelector.cpp.

{
       WindowPtr  windowPtr;
                     
       windowPtr = (WindowPtr) callBackParms->eventData.eventDataParms.event->message;
       if (!windowPtr)
              return;
              
       switch(callBackSelector)
       {
              case kNavCBEvent:
                     switch(callBackParms->eventData.eventDataParms.event->what)
                     {
                            case updateEvt:
                                   if(((WindowPeek) windowPtr)->windowKind != kDialogWindowKind)
                                          // XXX irrelevant
                                          // HandleUpdateEvt((EventRecord *) callBackParms->eventData.eventDataParms.event); 
                                   break;
                     }
                     break;
       } 
}

Here is the caller graph for this function: