00001 /* 00002 * page_export_1394.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_1394_H 00021 #define _PAGE_EXPORT_1394_H 00022 00023 #ifdef HAVE_CONFIG_H 00024 #include <config.h> 00025 #endif 00026 00027 #include <gtk/gtk.h> 00028 00029 #include "export.h" 00030 #include "page_export.h" 00031 #include "ieee1394io.h" 00032 00033 00037 class Export1394 : public Export 00038 { 00039 private: 00040 00041 GtkEntry *entry_preroll; 00042 AVC *avc; 00043 IEEE1394Writer *exportWriter; 00044 00045 gulong onActivate(); 00046 /* Used to figure out what buttons are supported when pages are changed 00047 If true, the 1394 system is loaded and OK*/ 00048 bool system_loaded; 00049 public: 00050 Export1394( PageExport*, KinoCommon* ); 00051 virtual ~Export1394(); 00052 00053 void start(); 00054 void clean(); 00055 00056 private: 00057 enum export_result 00058 doExport( PlayList * playlist, int begin, int end, int every, 00059 bool preview ); 00060 }; 00061 00062 #endif 00063
1.4.2