* MsgVals.h
*****************************************************************************
* Copyright (C) 2001 VideoLAN
- * $Id: MsgVals.h,v 1.1 2002/08/04 17:23:43 sam Exp $
+ * $Id$
*
* Authors: Tony Castley <tcastley@mail.powerup.com.au>
+ * Stephan Aßmus <stippi@yellowbites.com>
*
- * This program is free software; you can redistribute it and/or modify
+ * 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
+ * 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
+ * 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
+ * along with this program if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
*****************************************************************************/
-/* MsgVals.h */
-#define PLAYING 0
-#define PAUSED 1
+#ifndef BEOS_MESSAGE_VALUES_H
+#define BEOS_MESSAGE_VALUES_H
+
+#define PLAYING 0
+#define PAUSED 1
-const uint32 OPEN_FILE = 'OPFL';
-const uint32 OPEN_DVD = 'OPDV';
-const uint32 OPEN_PLAYLIST = 'OPPL';
-const uint32 STOP_PLAYBACK = 'STPL';
-const uint32 START_PLAYBACK = 'PLAY';
-const uint32 PAUSE_PLAYBACK = 'PAPL';
-const uint32 FASTER_PLAY = 'FAPL';
-const uint32 SLOWER_PLAY = 'SLPL';
-const uint32 SEEK_PLAYBACK = 'SEEK';
-const uint32 VOLUME_CHG = 'VOCH';
-const uint32 VOLUME_MUTE = 'MUTE';
-const uint32 SELECT_AUDIO = 'AUDI';
-const uint32 SELECT_SUBTITLE = 'SUBT';
-const uint32 PREV_TITLE = 'PRTI';
-const uint32 NEXT_TITLE = 'NXTI';
-const uint32 PREV_CHAPTER = 'PRCH';
-const uint32 NEXT_CHAPTER = 'NXCH';
-const uint32 TOGGLE_ON_TOP = 'ONTP';
-const uint32 TOGGLE_FULL_SCREEN = 'TGFS';
-const uint32 RESIZE_100 = 'RSOR';
-const uint32 RESIZE_200 = 'RSDB';
-const uint32 ASPECT_CORRECT = 'ASCO';
-const uint32 VERT_SYNC = 'VSYN';
-const uint32 WINDOW_FEEL = 'WFEL';
+#define OPEN_FILE 'opfl'
+#define OPEN_DVD 'opdv'
+#define LOAD_SUBFILE 'losu'
+#define SUBFILE_RECEIVED 'sure'
+#define OPEN_PLAYLIST 'oppl'
+#define STOP_PLAYBACK 'stpl'
+#define START_PLAYBACK 'play'
+#define PAUSE_PLAYBACK 'papl'
+#define HEIGHTH_PLAY 'hhpl'
+#define QUARTER_PLAY 'qupl'
+#define HALF_PLAY 'hapl'
+#define NORMAL_PLAY 'nrpl'
+#define TWICE_PLAY 'twpl'
+#define FOUR_PLAY 'fopl'
+#define HEIGHT_PLAY 'hepl'
+#define SEEK_PLAYBACK 'seek'
+#define VOLUME_CHG 'voch'
+#define VOLUME_MUTE 'mute'
+#define SELECT_CHANNEL 'chan'
+#define SELECT_SUBTITLE 'subt'
+#define PREV_TITLE 'prti'
+#define NEXT_TITLE 'nxti'
+#define TOGGLE_TITLE 'tgti'
+#define PREV_CHAPTER 'prch'
+#define NEXT_CHAPTER 'nxch'
+#define TOGGLE_CHAPTER 'tgch'
+#define PREV_FILE 'prfl'
+#define NEXT_FILE 'nxfl'
+#define NAVIGATE_PREV 'navp' // could be chapter, title or file
+#define NAVIGATE_NEXT 'navn' // could be chapter, title or file
+#define OPEN_PREFERENCES 'pref'
+#define OPEN_MESSAGES 'mess'
+#define TOGGLE_ON_TOP 'ontp'
+#define SHOW_INTERFACE 'shin'
+#define TOGGLE_FULL_SCREEN 'tgfs'
+#define RESIZE_50 'rshl'
+#define RESIZE_100 'rsor'
+#define RESIZE_200 'rsdb'
+#define RESIZE_TRUE 'rstr'
+#define ASPECT_CORRECT 'asco'
+#define VERT_SYNC 'vsyn'
+#define WINDOW_FEEL 'wfel'
+#define SCREEN_SHOT 'scrn'
+#define MSG_UPDATE 'updt'
+#define MSG_SOUNDPLAY 'move' // drag'n'drop from soundplay playlist
+#define INTERFACE_CREATED 'ifcr' /* see VlcApplication::MessageReceived()
+ * in src/misc/beos_specific.cpp */
+#define SHORTCUT 'shcu'
+#endif // BEOS_MESSAGE_VALUES_H