r553: Modern gccs require __attribute__((used)) for variables used only in assembly.
[cinelerra_cv.git] / cinelerra / awindow.C
blob822574bd8c8ffa79039c32e3d20b516f34f6d9c8
1 #include "assetedit.h"
2 #include "assetremove.h"
3 #include "awindow.h"
4 #include "awindowgui.h"
5 #include "clipedit.h"
7 AWindow::AWindow(MWindow *mwindow) : Thread()
9         this->mwindow = mwindow;
10         current_folder[0] = 0;
14 AWindow::~AWindow()
16         delete asset_edit;
19 int AWindow::create_objects()
21 //printf("AWindow::create_objects 1\n");
22         gui = new AWindowGUI(mwindow, this);
23 //printf("AWindow::create_objects 1\n");
24         gui->create_objects();
25 //printf("AWindow::create_objects 1\n");
26         gui->update_assets();
27         asset_remove = new AssetRemoveThread(mwindow);
28 //printf("AWindow::create_objects 1\n");
29         asset_edit = new AssetEdit(mwindow);
30 //printf("AWindow::create_objects 2\n");
31         clip_edit = new ClipEdit(mwindow, this, 0);
32 //printf("AWindow::create_objects 3\n");
33         return 0;
37 void AWindow::run()
39         gui->run_window();