Back to index

texmacs  1.0.7.15
Public Member Functions | Protected Attributes
TMInterposer Class Reference

List of all members.

Public Member Functions

(void) - interposeNow
(void) - waitIdle
(id) - init [implementation]
(void) - dealloc [implementation]

Protected Attributes

NSNotification * n

Detailed Description

Definition at line 255 of file aqua_gui.mm.


Member Function Documentation

- (void) dealloc [implementation]

Definition at line 275 of file aqua_gui.mm.

{
       //[n release];
  [[NSNotificationCenter defaultCenter] removeObserver:self];
  [super dealloc];
}
- (id) init [implementation]

Definition at line 264 of file aqua_gui.mm.

{
  if (self = [super init])
  {
       //     n = [[NSNotification notificationWithName:@"TMInterposeNotification" object:self] retain];
   // [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(interposeNow) name:@"TMInterposeNotification" object:nil];
               [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(interposeNow) name:NSApplicationWillUpdateNotification object:nil];
       //     [self waitIdle];
  }
  return self;
}
- (void) interposeNow

Definition at line 282 of file aqua_gui.mm.

{
//     NSBeep();
       update();
       //[self performSelector:@selector(waitIdle) withObject:nil afterDelay:0.25 inModes:[NSArray arrayWithObjects:NSDefaultRunLoopMode, nil]];
}

Here is the call graph for this function:

- (void) waitIdle

Definition at line 288 of file aqua_gui.mm.

{
       [[NSNotificationQueue defaultQueue] enqueueNotification:n 
                                                                                                                                                           postingStyle:NSPostWhenIdle
                                                                                                                                                           coalesceMask:NSNotificationCoalescingOnName 
                                                                                                                                                                         forModes:nil];
}

Member Data Documentation

- (NSNotification*) n [protected]

Definition at line 257 of file aqua_gui.mm.


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