From 03172432b3e289654da46234c5cb015b408b5976 Mon Sep 17 00:00:00 2001 From: das Date: Sat, 10 Sep 2005 15:11:15 +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 e946df5..94e5f13 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.4 2005/09/10 14:53:20 das Exp $ + * RCS: @(#) $Id: tkMacOSXCarbonEvents.c,v 1.5 2005/09/10 15:11:15 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 f4d79ae..4851126 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.4 2005/09/10 14:53:20 das Exp $ + * RCS: @(#) $Id: tkMacOSXDebug.h,v 1.5 2005/09/10 15:11:15 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