Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines | Functions
nsFileSelector.h File Reference
#include <Navigation.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  nsFileSelector

Defines

#define ERR_CHECK(_func)

Functions

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

Define Documentation

#define ERR_CHECK (   _func)
Value:
err = _func;                \
                     if (err != noErr)           \
                            return err;

Definition at line 75 of file nsFileSelector.h.


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;
       } 
}