Classes | Functions

xap_CocoaTimer.cpp File Reference

#import <Cocoa/Cocoa.h>
#import "xap_CocoaTimer.h"
#include "ut_assert.h"
#include "ut_mutex.h"
#include "ut_debugmsg.h"
#include "ut_unixTimer.h"

Classes

class  XAP_TimerInvocation

Functions

void _checkLock (void)
UT_uint32 XAP_newCocoaTimer (UT_uint32 time, int(*proc)(void *), void *p)
void XAP_stopCocoaTimer (UT_uint32 timerId)

Function Documentation

void _checkLock ( void   ) 

Check that the NSLock exist, and eventually lock it.

Referenced by XAP_newCocoaTimer(), and XAP_stopCocoaTimer().

UT_uint32 XAP_newCocoaTimer ( UT_uint32  time,
int(*)(void *)  proc,
void *  p 
)
void XAP_stopCocoaTimer ( UT_uint32  timerId  ) 

References _checkLock().

Referenced by UT_UNIXTimer::stop().