From 3431f9d27d778bba8668613730b6d6cb4d97c547 Mon Sep 17 00:00:00 2001 From: das Date: Sat, 10 Sep 2005 15:11:29 +0000 Subject: move declarations of Carbon-internal event debugging routines to tkMacOSXCarbonEvents.c --- macosx/tkMacOSXCarbonEvents.c | 8 +++++++- macosx/tkMacOSXDebug.h | 6 +----- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/macosx/tkMacOSXCarbonEvents.c b/macosx/tkMacOSXCarbonEvents.c index ddeec64..9b45c19 100644 --- a/macosx/tkMacOSXCarbonEvents.c +++ b/macosx/tkMacOSXCarbonEvents.c @@ -53,7 +53,7 @@ * software in accordance with the terms specified in this * license. * - * RCS: @(#) $Id: tkMacOSXCarbonEvents.c,v 1.3.2.3 2005/09/10 14:54:17 das Exp $ + * RCS: @(#) $Id: tkMacOSXCarbonEvents.c,v 1.3.2.4 2005/09/10 15:11:29 das Exp $ */ #include "tkInt.h" @@ -67,6 +67,12 @@ #endif */ +#ifdef TK_MAC_DEBUG_CARBON_EVENTS +/* Carbon-internal event debugging routines (c.f. Technote 2124): */ +void _DebugPrintEvent(EventRef inEvent); +void _TraceEventByName(CFStringRef eventName); +#endif /* TK_MAC_DEBUG_CARBON_EVENTS */ + /* Declarations of functions used only in this file */ static OSStatus CarbonEventHandlerProc ( EventHandlerCallRef callRef, diff --git a/macosx/tkMacOSXDebug.h b/macosx/tkMacOSXDebug.h index bb3aa32..c947ef3 100644 --- a/macosx/tkMacOSXDebug.h +++ b/macosx/tkMacOSXDebug.h @@ -50,7 +50,7 @@ * software in accordance with the terms specified in this * license. * - * RCS: @(#) $Id: tkMacOSXDebug.h,v 1.2.2.2 2005/09/10 14:54:17 das Exp $ + * RCS: @(#) $Id: tkMacOSXDebug.h,v 1.2.2.3 2005/09/10 15:11:29 das Exp $ */ #ifndef _TKMACDEBUG @@ -74,10 +74,6 @@ char * TkMacOSXMenuMessageToAscii(int msg, char * s); char * MouseTrackingResultToAscii(MouseTrackingResult r, char * buf ); -/* Declare Carbon-internal debugging routines (c.f. Technote 2124): */ -void _DebugPrintEvent(EventRef inEvent); -void _TraceEventByName(CFStringRef eventName); - #endif #endif -- cgit v0.12