#  Copyright (C) 1991, 1992, 1993  1994 Free Software Association of Germany
# 
#  This program is free software; you can redistribute it and/or modify
#  it under the terms of the DFSL or the GNU General Public License as 
#  published by the Free Software Association of Germany.
# 
#  This program is distributed in the hope that it will be useful,
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#  DFSL or the GNU General Public License for more details.
# 
#  You should have received a copy of the DFSL or the GNU General 
#  Public License along with this program; if not, write to the 
#  Free Software Association, c/o Michaela Merz, Heimatring 19,
#  6000 Frankfurt/Main 80, Germany. Or write to the Free Software
#  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
# 
# 
# 
#   cmdf_multi is part of GREAT 
#   Written by Ruediger <styx@leda.fsag.de> 
#                  and 
#   Michaela Merz <misch@elara.fsag.de 
# 
################################################################### 
DEFAULT
{
	sound $GREAT_SOUND_DIR/better_boing.au
	pixmap xterm.xpm
}

MXTerm
{
	name MXTerm
	pixmap xterm.xpm
	push_action mxterm
	drop_action "mxterm -e $0"
}

TextEdit
{
	name Textedit
	pixmap edit.xpm
	push_action textedit
	drop_action "textedit -textfile $0"
	sound $GREAT_SOUND_DIR/jedi.au
}

XMan
{
	name XMan
	pixmap xman.xpm
	push_action xman
}

XmFm
{
	name Xmfm
	pixmap xmfm.xpm
	push_action xmfm
}

Pixmap
{
	name Pixmap
	pixmap pixmap.xpm
	push_action pixmap
	drop_action "pixmap -f $0"
}

XPaint
{
	name Xpaint
	pixmap xpaint.xpm
	push_action xpaint
	drop_action "xpaint $0"
}

Audio
{
	name "Play Sound"
	pixmap audio.xpm
	# push_action nopush
	sound cmd.none
	push_action textedit
	drop_action "/usr/GREAT/bin/psound $0"
	action_pixmap noaudio.xpm
	action_push_action "ls -l"
	action_drop_action "ls -l $0"
}

Print
{
	name "Print"
	pixmap ljet.l.pm
	push_action nopush
	drop_action "cat $0"

	animate ljet11.l.pm
	animate ljet10.l.pm
	animate ljet09.l.pm
	animate ljet08.l.pm
	animate ljet07.l.pm
	animate ljet06.l.pm
	animate ljet05.l.pm
	animate ljet04.l.pm
	animate ljet03.l.pm
	animate ljet02.l.pm
	animate ljet.l.pm
}
morec
{
	pixmap more.xpm
	name Multimedia
	push_action "cmdframe -left -cfgf $HOME/.great/.cmdf_multi"
	drop_action cmd_none 
	action_pixmap nomore.xpm
	action_drop_action cmd_none
	action_push_action cmd_none

}

