/*****************************************************************************/
/*
 *      handlemsg.h -- playlist GTK+ callbacks
 *
 *      Copyright (C) 2001-2002 Sigma Designs
 *                    written by Pascal Cannenterre <pascal_cannenterre@sdesigns.com>
 *
 *      This program is free software; you can redistribute it and/or modify
 *      it under the terms of the GNU General Public License as published by
 *      the Free Software Foundation; either version 2 of the License, or
 *      (at your option) any later version.
 *
 *      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
 *      GNU General Public License for more details.
 *
 *      You should have received a copy of the GNU General Public License
 *      along with this program; if not, write to the Free Software
 *      Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 */

/*****************************************************************************/
#ifndef __HANDLEMSG_H__
#define __HANDLEMSG_H__

#define MSG_BOTH          0
#define MSG_STATUS_ONLY  -1
#define MSG_OSD_ONLY     -2

typedef enum _MSG_ID_
{
  MSG_ERROR,  /* 0 */
  MSG_PLAY,   /* 1 */
  MSG_PAUSE,  /* 2 */
  MSG_STOP,   /* 3 */
  MSG_OPEN,   /* 4 */
  MSG_CLOSE,  /* 5 */
  MSG_FR,     /* 6 */
  MSG_FF,     /* 7 */
  MSG_BACK,   /* 8 */
  MSG_NEXT,   /* 9 */
  MSG_STEPF,  /* 10 */
  MSG_STEPR,  /* 11 */
  MSG_REVERSE,/* 12 */
  MSG_SKIP,   /* 13 */
  MSG_LOADING /* 14 */
}MSG_ID;

guint push_msg_statusbar(gchar *);
void pop_msg_statusbar(gboolean, guint);
DWORD lockedDisplayMsg(char *);
DWORD displayMsg(int, int, gchar *);
DWORD displayRepeatModeMsg(char *);

#endif /* HANDLEMSG_H */
