1 /*** DTB_USER_CODE_START vvv Add file header below vvv ***/
2 //%% (c) Copyright 1993, 1994 Hewlett-Packard Company
3 //%% (c) Copyright 1993, 1994 International Business Machines Corp.
4 //%% (c) Copyright 1993, 1994 Sun Microsystems, Inc.
5 //%% (c) Copyright 1993, 1994 Novell, Inc.
6 //%% $XConsortium: apiTracer_stubs.C.src /main/3 1995/11/06 17:10:09 rswiston $
7 /*** DTB_USER_CODE_END ^^^ Add file header above ^^^ ***/
10 * File: apiTracer_stubs.c
11 * Contains: Module callbacks and connection functions
13 * This file was generated by dtcodegen, from module apiTracer
15 * Any text may be added between the DTB_USER_CODE_START and
16 * DTB_USER_CODE_END comments (even non-C code). Descriptive comments
17 * are provided only as an aid.
19 * ** EDIT ONLY WITHIN SECTIONS MARKED WITH DTB_USER_CODE COMMENTS. **
20 * ** ALL OTHER MODIFICATIONS WILL BE OVERWRITTEN. DO NOT MODIFY OR **
21 * ** DELETE THE GENERATED COMMENTS! **
26 #include "dtb_utils.h"
27 #include "apiTracer_ui.h"
30 * Header files for cross-module connections
32 #include "ttsnoop_ui.h"
35 /**************************************************************************
36 *** DTB_USER_CODE_START
38 *** All necessary header files have been included.
40 *** Add include files, types, macros, externs, and user functions here.
46 /*** DTB_USER_CODE_END
48 *** End of user code section
50 **************************************************************************/
55 apiTracer_closeButton_CB1(
61 /*** DTB_USER_CODE_START vvv Add C variables and code below vvv ***/
62 /*** DTB_USER_CODE_END ^^^ Add C variables and code above ^^^ ***/
64 DtbApiTracerTracerInfo instance = (DtbApiTracerTracerInfo)clientData;
66 if (!(instance->initialized))
68 dtb_api_tracer_tracer_initialize(instance, dtb_ttsnoop_ttsnoop_win.ttsnoopWin);
70 XtUnmanageChild(instance->tracer_shellform);
72 /*** DTB_USER_CODE_START vvv Add C code below vvv ***/
73 /*** DTB_USER_CODE_END ^^^ Add C code above ^^^ ***/
84 /*** DTB_USER_CODE_START vvv Add C variables and code below vvv ***/
85 /*** DTB_USER_CODE_END ^^^ Add C variables and code above ^^^ ***/
87 /*** DTB_USER_CODE_START vvv Add C code below vvv ***/
88 DtbApiTracerTracerInfo instance = (DtbApiTracerTracerInfo)clientData;
89 int wasOn = tt_trace_control( -1 );
90 DtTtSetLabel( instance->cancelButton, wasOn ? "Start" : "Stop" );
91 /*** DTB_USER_CODE_END ^^^ Add C code above ^^^ ***/
102 /*** DTB_USER_CODE_START vvv Add C variables and code below vvv ***/
103 /*** DTB_USER_CODE_END ^^^ Add C variables and code above ^^^ ***/
105 /*** DTB_USER_CODE_START vvv Add C code below vvv ***/
106 _DtMan( 0, "tt_trace_control" );
107 /*** DTB_USER_CODE_END ^^^ Add C code above ^^^ ***/
112 /**************************************************************************
113 *** DTB_USER_CODE_START
115 *** All automatically-generated data and functions have been defined.
117 *** Add new functions here, or at the top of the file.
120 /*** DTB_USER_CODE_END
122 *** End of user code section
124 **************************************************************************/