/* Copyright (C) 1996,1997 Robert H”hne, see COPYING.RH for details */
/* This file is part of RHIDE. */
#if !defined( __tvutilCommands )
#define __tvutilCommands

#define __HC_BASE__ 1024
#define __CM_BASE__ 1024

const unsigned short
	hcWindowList		= __HC_BASE__,
	last_tv_util_hc         = __HC_BASE__ + 1;

const unsigned short
	cmSelectWindow		= __CM_BASE__,
	cmDeleteWindow		= __CM_BASE__ + 1,
	cmListItemFocused	= __CM_BASE__ + 2,
	cmRadioItemSelected	= __CM_BASE__ + 3,
        cmCheckBoxItemSelected  = __CM_BASE__ + 4,
        cmFocusWindow           = __CM_BASE__ + 5,
        /* This broadcast is sent, when the app should select a window.
           The name of the file is stored in infoPtr. */
        cmOpenWindow            = __CM_BASE__ + 6,
        /* Same as cmFocusWindow, but the app should open the window,
           if not already on the desktop */
        cmGotoWindowLine        = __CM_BASE__ + 7,
        /* This broadcast is sent only, when one of the above two
           messages was handled successfull. The app should remember,
           which window has handled the above messages.
           The linenumber is stored in infoInt */
        cmShowWindowMsg         = __CM_BASE__ + 8,
        /* This is sent, when selecting a window with the above
           broadcasts, then the message in infoPtr should be
           shown. */
	last_tv_util_cm         = __CM_BASE__ + 9;

#undef __CM_BASE__
#undef __HC_BASE__

#endif
