home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1998 October
/
PCWorld_1998-10_cd.bin
/
software
/
prehled
/
komix
/
DATA.Z
/
vbxprom.tcl
< prev
next >
Wrap
Text File
|
1997-10-09
|
3KB
|
116 lines
#---------------------------------------------------------------------------
#
# (c) Cayenne Software Inc. 1997
#
# File: @(#)vbxprom.tcl /main/titanic/1
# Author: mahe
# Description: extra selfpromoters for DB classes in Visual Basic
#---------------------------------------------------------------------------
# @(#)vbxprom.tcl /main/titanic/1 9 Oct 1997 Copyright 1997 Cayenne Software Inc.
global mostDerivedOOPL
if [isCommand CMDatabaseClass] {
Class VBGDatabaseClassD : {VBGClass CMDatabaseClass} {
}
} else {
Class VBGDatabaseClassD : {VBGClass OPDatabaseClass} {
}
}
set mostDerivedOOPL(OPDatabaseClass) VBGDatabaseClassD
selfPromoter OPDatabaseClass {this} {
VBGDatabaseClassD promote $this
}
if [isCommand CMDBLinkClass] {
Class VBGDBLinkClassD : {VBGLinkClass CMDBLinkClass} {
}
} else {
Class VBGDBLinkClassD : {VBGLinkClass OPDBLinkClass} {
}
}
set mostDerivedOOPL(OPDBLinkClass) VBGDBLinkClassD
selfPromoter OPDBLinkClass {this} {
VBGDBLinkClassD promote $this
}
if [isCommand CMDBDataAttr] {
Class VBGDBDataAttrD : {VBGDataAttr CMDBDataAttr} {
}
} else {
Class VBGDBDataAttrD : {VBGDataAttr OPDBDataAttr} {
}
}
set mostDerivedOOPL(OPDBDataAttr) VBGDBDataAttrD
selfPromoter OPDBDataAttr {this} {
VBGDBDataAttrD promote $this
}
if [isCommand CMDBAssocAttr] {
Class VBGDBAssocAttrD : {VBGAssocAttr CMDBAssocAttr} {
}
} else {
Class VBGDBAssocAttrD : {VBGAssocAttr OPDBAssocAttr} {
}
}
set mostDerivedOOPL(OPDBAssocAttr) VBGDBAssocAttrD
selfPromoter OPDBAssocAttr {this} {
VBGDBAssocAttrD promote $this
}
if [isCommand CMDBLinkAttr] {
Class VBGDBLinkAttrD : {VBGLinkAttr CMDBLinkAttr} {
}
} else {
Class VBGDBLinkAttrD : {VBGLinkAttr OPDBLinkAttr} {
}
}
set mostDerivedOOPL(OPDBLinkAttr) VBGDBLinkAttrD
selfPromoter OPDBLinkAttr {this} {
VBGDBLinkAttrD promote $this
}
if [isCommand CMDBReverseLinkAttr] {
Class VBGDBReverseLinkAttrD : {VBGReverseLinkAttr CMDBReverseLinkAttr} {
}
} else {
Class VBGDBReverseLinkAttrD : {VBGReverseLinkAttr OPDBReverseLinkAttr} {
}
}
set mostDerivedOOPL(OPDBReverseLinkAttr) VBGDBReverseLinkAttrD
selfPromoter OPDBReverseLinkAttr {this} {
VBGDBReverseLinkAttrD promote $this
}
if [isCommand CMDBQualAssocAttr] {
Class VBGDBQualAssocAttrD : {VBGQualAssocAttr CMDBQualAssocAttr} {
}
} else {
Class VBGDBQualAssocAttrD : {VBGQualAssocAttr OPDBQualAssocAttr} {
}
}
set mostDerivedOOPL(OPDBQualAssocAttr) VBGDBQualAssocAttrD
selfPromoter OPDBQualAssocAttr {this} {
VBGDBQualAssocAttrD promote $this
}
if [isCommand CMDBQualLinkAttr] {
Class VBGDBQualLinkAttrD : {VBGQualLinkAttr CMDBQualLinkAttr} {
}
} else {
Class VBGDBQualLinkAttrD : {VBGQualLinkAttr OPDBQualLinkAttr} {
}
}
set mostDerivedOOPL(OPDBQualLinkAttr) VBGDBQualLinkAttrD
selfPromoter OPDBQualLinkAttr {this} {
VBGDBQualLinkAttrD promote $this
}