1 # main.tcl --
2 #
3 # This is the main entry point for the recorder tool.
4 # Tcl source code expansion with tcl-expand.tcl starts here.
5 # Tcl execution also starts here.
6 #
7 # Copyright (c) 1996-2002 The Regents of the University of California.
8 # All rights reserved.
9 #
10 # Redistribution and use in source and binary forms, with or without
11 # modification, are permitted provided that the following conditions are met:
12 #
13 # A. Redistributions of source code must retain the above copyright notice,
14 # this list of conditions and the following disclaimer.
15 # B. Redistributions in binary form must reproduce the above copyright notice,
16 # this list of conditions and the following disclaimer in the documentation
17 # and/or other materials provided with the distribution.
18 # C. Neither the names of the copyright holders nor the names of its
19 # contributors may be used to endorse or promote products derived from this
20 # software without specific prior written permission.
21 #
22 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS''
23 # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
24 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
25 # ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR
26 # ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
27 # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
28 # SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
29 # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
30 # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
31 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32
33
34 #set V(class) Recorder
35 #set V(app) recorder
36
37 #source tcl/common/mtrace.tcl
38 #source tcl/srm/cf-srm.tcl
39 #source tcl/common/application.tcl
40 #source tcl/common/application-rtp.tcl
41 #source tcl/common/util.tcl
42 #source tcl/common/observe.tcl
43 #source tcl/common/dbg-err.tcl
44 #source tcl/common/sdp.tcl
45
46 #source tcl/net/rtp.tcl
47 #source tcl/net/agent-rtp.tcl
48 #source tcl/net/agent-audio.tcl
49 #source tcl/net/agent-video.tcl
50 #source tcl/net/network.tcl
51
52 #source tcl/ui_tools/ui-primitive.tcl
53 #source tcl/ui_tools/ui-dropdown.tcl
54 #source tcl/ui_tools/ui-scroll.tcl
55 #source tcl/ui_tools/ui-list.tcl
56 #source tcl/ui_tools/ui-morewidgets.tcl
57 #source tcl/ui_tools/ui-dialog.tcl
58 #source tcl/ui_tools/ui-filedlg.tcl
59 #source tcl/ui_tools/ui-msgbox.tcl
60 #source tcl/ui_tools/ui-iconlib.tcl
61 #source tcl/archive/ui-vcricons.tcl
62
63 #source tcl/archive/recorder/archive-record.tcl
64 #source tcl/archive/recorder/mb-record.tcl
65 #source tcl/archive/recorder/ui-recorder.tcl
66 #source tcl/archive/recorder/app-recorder.tcl
67 #source tcl/archive/recorder/rtp-record.tcl
68 #source tcl/archive/recorder/rtp-record-agent.tcl
69 #source tcl/archive/catalog.tcl
70
71 Import enable
72 import WidgetClass
73 WidgetClass transparent_gif
74
75 import MTrace Application/Recorder
76
77 #[MTrace init {trcArchive}] toggle_window
78 set app [new Application/Recorder $argv]
79 if { ! [$app run] } {
80 delete $app
81 exit
82 }
83
84
This page was automatically generated by the
LXR engine.
Visit the LXR main site for more
information.