no longer need ffmpeg patch0 which was for Termux
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / awindow.h
1
2 /*
3  * CINELERRA
4  * Copyright (C) 2008 Adam Williams <broadcast at earthling dot net>
5  * Copyright (C) 2003-2016 Cinelerra CV contributors
6  *
7  * This program is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation; either version 2 of the License, or
10  * (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program; if not, write to the Free Software
19  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
20  *
21  */
22
23 #ifndef AWINDOW_H
24 #define AWINDOW_H
25
26 #include "arraylist.h"
27 #include "assetedit.inc"
28 #include "assetremove.inc"
29 #include "awindowgui.inc"
30 #include "bchash.inc"
31 #include "bcwindowbase.inc"
32 #include "clipedit.inc"
33 #include "effectlist.inc"
34 #include "labeledit.inc"
35 #include "labelpopup.inc"
36 #include "mwindow.inc"
37 #include "thread.h"
38
39 class AWindow : public Thread
40 {
41 public:
42         AWindow(MWindow *mwindow);
43         ~AWindow();
44
45         void run();
46         void create_objects();
47         AssetEdit *get_asset_editor();
48         int load_defaults(BC_Hash *defaults);
49         int save_defaults(BC_Hash *defaults);
50
51         AWindowGUI *gui;
52         MWindow *mwindow;
53         ArrayList<AssetEdit*> asset_editors;
54         AssetRemoveThread *asset_remove;
55         ClipEdit *clip_edit;
56         LabelEdit *label_edit;
57 };
58
59 #endif