
/*
 * CINELERRA
 * Copyright (C) 2008 Adam Williams <broadcast at earthling dot net>
 *
 * 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., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 *
 */

#ifndef __TRANSPORTQUE_INC__
#define __TRANSPORTQUE_INC__

// Directions
#define PLAY_FORWARD 0
#define PLAY_REVERSE 1

// Commands
// Perform change but don't render anything
#define COMMAND_NONE         0
// Stop playback but keep existing change_type flag
#define STOP                 7

#define SINGLE_FRAME_FWD     1
#define NORMAL_FWD           2
#define FAST_FWD             3
#define SINGLE_FRAME_REWIND  4
#define NORMAL_REWIND        5
#define FAST_REWIND          6
#define PAUSE                8
#define SLOW_FWD             9
#define SLOW_REWIND         10
#define REWIND              11
#define GOTO_END            12
#define CURRENT_FRAME       13
#define LAST_FRAME          14

// Level of change.  Changes have to be inclusive of all the lesser changes.
// Delete cache
#define CHANGE_ALL            0x7fffffff
// Delete render engines
#define CHANGE_EDL                  0x11
// Search EDL and synchronize parameters.
#define CHANGE_PARAMS                0x1
#define CHANGE_NONE                  0x0

class TransportCommand;

#endif
