00001 /* 00002 * Copyright (C) 2000 Arne Schirmacher <arne@schirmacher.de> 00003 * Copyright (C) 2001-2007 Dan Dennedy <dan@dennedy.org> 00004 * 00005 * This program is free software; you can redistribute it and/or modify 00006 * it under the terms of the GNU General Public License as published by 00007 * the Free Software Foundation; either version 2 of the License, or 00008 * (at your option) any later version. 00009 * 00010 * This program is distributed in the hope that it will be useful, 00011 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00013 * GNU General Public License for more details. 00014 * 00015 * You should have received a copy of the GNU General Public License 00016 * along with this program; if not, write to the Free Software Foundation, 00017 * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 00018 */ 00019 00020 #ifndef _COMMANDS_H 00021 #define _COMMANDS_H 00022 00023 #include <gtk/gtk.h> 00024 00025 struct navigate_control 00026 { 00027 gint step; 00028 gint rate; 00029 gint subframe; 00030 gboolean active; 00031 gboolean escaped; 00032 gboolean capture_active; 00033 }; 00034 00035 #ifdef __cplusplus 00036 extern "C" 00037 { 00038 #endif 00039 00040 void kinoInitialise( GtkWidget * ); 00041 void kinoPostInit(); 00042 gboolean kinoDeactivate( void ); 00043 void bulkLoad( int argc, char * argv[] ); 00044 void newFile( void ); 00045 void openFile( void ); 00046 void savePlayListAs( void ); 00047 void savePlayList( void ); 00048 void saveFrame( void ); 00049 void insertFile( void ); 00050 void appendFile( void ); 00051 gboolean processKeyboard( GdkEventKey * event ); 00052 void processCommand( char * command ); 00053 void pageStart( int ); 00054 int moveToFrame( int ); 00055 int moveByFrames( int ); 00056 void videoStart( void ); 00057 void videoPreviousScene( void ); 00058 void videoStartOfScene( void ); 00059 void videoRewind( void ); 00060 void videoBack(void); 00061 void videoBackBy( int ); 00062 void videoPlay( void ); 00063 void videoPause( void ); 00064 void videoStop( void ); 00065 void videoForwardBy( int ); 00066 void videoForward(void); 00067 void videoFastForward( void ); 00068 void videoNextScene( void ); 00069 void videoEndOfScene( void ); 00070 void videoEndOfMovie( void ); 00071 void videoShuttle( int ); 00072 void windowMoved( void ); 00073 void visibilityChanged( gboolean ); 00074 void selectScene( int ); 00075 void showIcons( GtkWidget * ); 00076 void selectIcon( GtkWidget *, int ); 00077 void notebookChangePage( int ); 00078 void stop_navigator( void ); 00079 void startCapture( void ); 00080 void stopCapture( void ); 00081 void setPreviewSize( float factor ); 00082 void previewExport( void ); 00083 void startExport( void ); 00084 void stopExport( void ); 00085 void pauseExport( void ); 00086 void setExportMode( int ); 00087 void RefreshBar( GtkWidget * drawingarea ); 00088 void setMoreInfo( int ); 00089 void setTimeFormat( int ); 00090 void publishPlayList( void ); 00091 void publishFrame( void ); 00092 void startJogShuttle( void ); 00093 void showHelp( const char *page ); 00094 void handleMouseScroll( GdkEvent *event ); 00095 int kino2raw( char* filename, char* option ); 00096 00097 #ifdef __cplusplus 00098 } 00099 #endif 00100 00101 #endif
1.4.2