00001 /* 00002 * page_export_pipe.h - DV Pipe exports 00003 * Copyright (C) 2003 Charles Yates <charles.yates@pandora.be> 00004 * Copyright (C) 2003-2007 Dan Dennedy <dan@dennedy.org> 00005 * 00006 * This program is free software; you can redistribute it and/or modify 00007 * it under the terms of the GNU General Public License as published by 00008 * the Free Software Foundation; either version 2 of the License, or 00009 * (at your option) any later version. 00010 * 00011 * This program is distributed in the hope that it will be useful, 00012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00014 * GNU General Public License for more details. 00015 * 00016 * You should have received a copy of the GNU General Public License 00017 * along with this program; if not, write to the Free Software Foundation, 00018 * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 00019 */ 00020 00021 #ifndef _PAGE_EXPORT_PIPE_H 00022 #define _PAGE_EXPORT_PIPE_H 00023 00024 #ifdef HAVE_CONFIG_H 00025 #include <config.h> 00026 #endif 00027 00028 #include <vector> 00029 #include <string> 00030 00031 #include <gtk/gtk.h> 00032 00033 #include "export.h" 00034 #include "page_export.h" 00035 #include "kino_common.h" 00036 #include "playlist.h" 00037 00038 class DVPipeTool; 00039 00043 class ExportPipe : public Export 00044 { 00045 private: 00046 vector < DVPipeTool * > m_tools; 00047 char playlistTempName[ 20 ]; 00048 00049 public: 00050 ExportPipe( PageExport*, KinoCommon* ); 00051 virtual ~ExportPipe( ); 00052 void start( ); 00053 void clean( ); 00054 gulong onActivate( ); 00055 void loadTools( string directory ); 00056 void activateTool( int tool ); 00057 void selectTool( int tool ); 00058 00059 private: 00060 enum export_result doExport( PlayList * playlist, int begin, int end, int every, bool preview ); 00061 }; 00062 00063 #endif
1.4.2