X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fformatpopup.h;h=aec42efdf9c5c213268ffac375eea413f7811404;hb=5621db270ccbeabc106e0f438941dba6f930652b;hp=d0138f182aa3903e079b52375435c9523adcf775;hpb=30bdb85eb33a8ee7ba675038a86c6be59c43d7bd;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/cinelerra/formatpopup.h b/cinelerra-5.1/cinelerra/formatpopup.h index d0138f18..aec42efd 100644 --- a/cinelerra-5.1/cinelerra/formatpopup.h +++ b/cinelerra-5.1/cinelerra/formatpopup.h @@ -2,21 +2,21 @@ /* * CINELERRA * Copyright (C) 2008 Adam Williams - * + * * 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 FORMATPOPUP_H @@ -26,32 +26,31 @@ #include "guicast.h" #include "formatpopup.inc" -#include "pluginserver.inc" class FormatPopup : public BC_ListBox { public: - FormatPopup(ArrayList *plugindb, int x, int y, + FormatPopup(int x, int y, + int do_audio=1, int do_video=1, int use_brender=0); // Show formats useful in background rendering ~FormatPopup(); void create_objects(); + void post_item(int format); virtual int handle_event(); // user copies text to value here - ArrayList *plugindb; ArrayList format_items; - int use_brender; + int use_brender, do_audio, do_video; }; class FFMPEGPopup : public BC_ListBox { public: - FFMPEGPopup(ArrayList *plugindb, int x, int y); + FFMPEGPopup(int x, int y); ~FFMPEGPopup(); void create_objects(); virtual int handle_event(); - ArrayList *plugindb; ArrayList ffmpeg_types; };