r827: Fix a crash when no audio output device can be opened.
[cinelerra_cv.git] / cinelerra / reindex.h
blob7224bbb361666d6a9e4b5226b11b031457ef1abb
1 #ifndef REINDEX_H
2 #define REINDEX_H
4 class ReIndex;
6 #include "indexfile.h"
7 #include "guicast.h"
8 #include "mainmenu.h"
9 #include "mwindow.h"
10 #include "thread.h"
12 class ReIndex : public BC_MenuItem, public Thread
14 public:
15 ReIndex(MWindow *mwindow);
16 ~ReIndex();
17 void run();
18 handle_event();
20 MWindow *mwindow;
23 class ReIndexOkButton;
24 class ReIndexCancelButton;
25 class ReIndexTextBox;
27 class ReIndexWindow : public BC_Window
29 public:
30 ReIndexWindow(char *display = "");
31 ~ReIndexWindow();
32 create_objects();
34 MWindow *mwindow;
35 long sample_rate;
36 ReIndexOkButton *ok;
37 ReIndexCancelButton *cancel;
40 class ReIndexOkButton : public BC_Button
42 public:
43 ReIndexOkButton(ReIndexWindow *window);
45 handle_event();
46 keypress_event();
48 ReIndexWindow *window;
51 class ReIndexCancelButton : public BC_Button
53 public:
54 ReIndexCancelButton(ReIndexWindow *window);
56 handle_event();
57 keypress_event();
59 ReIndexWindow *window;
62 #endif