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


#This script will add a new state to the GenericCollection presentation object

[ "$DEBUG" = true ] && set -xv

if [ $# -ne 4 ] ; then
	echo Usage: $0 classname statename dialog xpm-file
	exit 1
fi
CLASSNAME=$1
STATENAME=$2
DIALOGNAME=$3
BITMAP=$4
wputicon -r $CLASSNAME $STATENAME $DIALOGNAME $BITMAP
