home *** CD-ROM | disk | FTP | other *** search
- #---------------------------------------------------------------------------
- #
- # (c) Cayenne Software Inc. 1996
- #
- # File: @(#)revengcppd.tcl /main/hindenburg/3
- # Author: <generated>
- # Description:
- #---------------------------------------------------------------------------
- # SccsId = @(#)revengcppd.tcl /main/hindenburg/3 12 Feb 1997 Copyright 1996 Cayenne Software Inc.
-
- # Start user added include file section
- # End user added include file section
-
- require "revengdlg.tcl"
-
- Class RevEngCppDlg : {RevEngDlg} {
- method destructor
- constructor
- method getOptions
- }
-
- method RevEngCppDlg::destructor {this} {
- # Start destructor user section
- # End destructor user section
- $this RevEngDlg::destructor
- }
-
- constructor RevEngCppDlg {class this name} {
- set this [RevEngDlg::constructor $class $this $name "C++" "reveng_cpp"]
-
- interface CheckButton $this.top.association {
- label "Reverse engineer associations"
- state 1
- }
-
- interface DlgRow $this.top.filter {
- verStretchFactor 0
- verShrinkFactor 0
- Label lab {
- text "Input Filter Command"
- }
- SingleLineText cmdline {}
- }
-
- interface DlgRow $this.top.skipids {
- verStretchFactor 0
- verShrinkFactor 0
- Label lab {
- text "Skip Identifiers File"
- }
- SingleLineText filename {}
- }
-
- $this.top.filter.cmdline text [m4_var get M4_reveng_filter]
- $this.top.skipids.filename text [m4_var get M4_reveng_skipfile]
-
- return $this
- }
-
- method RevEngCppDlg::getOptions {this} {
- set script [$this RevEngDlg::getOptions]
- if [$this.top.association state] {
- append script " -a rev_assoc.tcl"
- }
- if {[$this.top.filter.cmdline text] != ""} {
- append script " -I\"[$this.top.filter.cmdline text]\""
- }
- if {[$this.top.skipids.filename text] != ""} {
- append script " -U[$this.top.skipids.filename text]"
- }
- return $script
- }
-
- # Do not delete this line -- regeneration end marker
-
-