Back to index

texmacs  1.0.7.15
Functions
mac_utilities.h File Reference
#include "string.hpp"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

bool mac_alternate_startup ()
void mac_begin_remote ()
void mac_end_remote ()
void mac_remote_button (string button, bool pressed)

Function Documentation

Definition at line 29 of file mac_utilities.mm.

                         {
#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 1060
  NSUInteger nsmods = [NSEvent modifierFlags];
  return (nsmods &  NSAlternateKeyMask);
#else
  return ((CGEventSourceFlagsState(kCGEventSourceStateCombinedSessionState) 
           & NSDeviceIndependentModifierFlagsMask) == kCGEventFlagMaskAlternate);
#endif
}

Here is the caller graph for this function:

void mac_begin_remote ( )

Definition at line 386 of file mac_utilities.mm.

                        {
    remote_delegate = [[TMRemoteDelegate alloc] init];
  }
  [remote_delegate setupRemote];
  [remote_delegate startStopRemote:true];
  [pool release];
}

Here is the caller graph for this function:

void mac_end_remote ( )

Definition at line 397 of file mac_utilities.mm.

                                  :false];
  [remote_delegate cleanupRemote];
  [pool release];
}

Here is the call graph for this function:

Here is the caller graph for this function:

void mac_remote_button ( string  button,
bool  pressed 
)

Definition at line 405 of file mac_utilities.mm.

Here is the caller graph for this function: