00001 /* 00002 * page_export_avi.h Notebook Firewire/AVI/Still Frame Export Page Object 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 _PAGE_EXPORT_AVI_H 00021 #define _PAGE_EXPORT_AVI_H 00022 00023 #ifdef HAVE_CONFIG_H 00024 #include <config.h> 00025 #endif 00026 00027 #include "export.h" 00028 #include "page_export.h" 00029 #include "kino_common.h" 00030 #include "filehandler.h" 00031 00035 class ExportAVI : public Export 00036 { 00037 private: 00038 FileHandler *writer; 00039 00040 /* Pointers to the controls on this page */ 00041 GtkEntry *fileEntry; 00042 GtkToggleButton *formatDV1Toggle; 00043 GtkToggleButton *formatDV2Toggle; 00044 GtkToggleButton *formatRawDVToggle; 00045 GtkToggleButton *formatQtToggle; 00046 GtkToggleButton *autoSplitToggle; 00047 GtkToggleButton *timeStampToggle; 00048 GtkToggleButton *metadataToggle; 00049 GtkEntry *framesEntry; 00050 GtkEntry *sizeEntry; 00051 GtkToggleButton *OpenDMLToggle; 00052 00053 enum export_result 00054 doExport( PlayList * playlist, int begin, int end, int every, 00055 bool preview ); 00056 00057 public: 00058 ExportAVI( PageExport*, KinoCommon* ); 00059 virtual ~ExportAVI(); 00060 00061 void start(); 00062 void clean(); 00063 00064 }; 00065 00066 #endif 00067
1.4.2