#!/bin/sh
#
# Component Name: TivoliPlus
#
# $Source: /tivoli/development/src/2.0/plus/Link/src/faux_fp_distribute,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"`

#Get the region name to avoid collisions
IRO=`wlookup InterRegion`
IRONAME=`idlattr -t -g $IRO name string`
IRONAME=`eval echo $IRONAME`

eval PROFILE_LABEL=`idlattr -t -g "$REAL_OID" label string`
wdistfp -ad @FilePackage:"$PROFILE_LABEL#$IRONAME" > /dev/null 2>&1

echo { 0 }

exit 0





