Back to index

texmacs  1.0.7.15
Functions
mac_app.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void init_mac_application ()
void finalize_mac_application ()
void process_mac_events ()

Function Documentation

Definition at line 53 of file mac_app.mm.

{  
  mac_end_remote ();

  [pool release];
  [NSApp setDelegate:nil];
  [delegate release];
}

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 42 of file mac_app.mm.

{
  [NSApplication sharedApplication];
  pool = [[NSAutoreleasePool alloc] init]; 
  delegate = [[TMAppDelegate alloc] init];
  [NSApp setDelegate: delegate];
  [NSApp finishLaunching];
  
  mac_begin_remote ();
}

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 62 of file mac_app.mm.

{
  do {
    [pool release];
    pool = [[NSAutoreleasePool alloc] init];
    
    NSEvent *event =
    //[NSDate distantFuture][NSApp
     nextEventMatchingMask:NSAnyEventMask
     untilDate:nil 
     inMode:NSDefaultRunLoopMode
     dequeue:YES];
    
    if (!event) break;
    [NSApp sendEvent:event];
    [NSApp updateWindows];
  } while (true);
  
}

Here is the caller graph for this function: