#!/bin/sh
#
# Component Name: TivoliPlus
#
# $Source: /tivoli/development/src/2.0/plus/Link/src/faux_inventory_launch,v $
#
# $Revision: 1.2 $
#
# Description:
#
# (C) COPYRIGHT Tivoli Systems, Inc. 1995-2000
# Unpublished Work
# All Rights Reserved
# Licensed Material - Property of Tivoli Systems, Inc.
#

#
# This is a UI callback.  Pass these arguments to a method on another object.
# (I guess the O-O guys call this kind of thing 'delegation')
#

#
# Now lookup the oid that we really want to call
#


#echo idlattr -t -g $TMF_SELF faux_profile_manager Object > /tmp/idlattr
REAL_OID=`idlattr -t -g $TMF_SELF faux_profile Object`

#
# Extract this method's arguments
#
INPUT=`idlinput`
ARGS=`idlarg 1 "$INPUT"`
UI_ENV=`idlarg 2 "$INPUT"`

#
# Call the launch method of that object.  This 'launch' is a UI callback
# too.  We'll just use its output argument as our output argument.
#
#echo $REAL_OID > /tmp/real_oid
#echo idlcall $REAL_OID launch "$ARGS $UI_ENV" > /tmp/idlcall
idlcall $REAL_OID launch "$ARGS $UI_ENV"

exit $?





