SpectMorph
smmain.hh
1 // Licensed GNU LGPL v2.1 or later: http://www.gnu.org/licenses/lgpl-2.1.html
2 
3 #ifndef SPECTMORPH_MAIN_HH
4 #define SPECTMORPH_MAIN_HH
5 
6 #include <functional>
7 
8 namespace SpectMorph
9 {
10 
11 void sm_plugin_init();
12 void sm_plugin_cleanup();
13 bool sm_init_done();
14 bool sm_sse();
15 void sm_enable_sse (bool sse);
16 void sm_set_ui_thread();
17 void sm_set_dsp_thread();
18 bool sm_ui_thread();
19 bool sm_dsp_thread();
20 void sm_global_free_func (std::function<void()> func);
21 
22 class InstEncCache;
23 class WavSetRepo;
24 
25 namespace Global
26 {
27  InstEncCache *inst_enc_cache();
28  WavSetRepo *wav_set_repo();
29 }
30 
31 class Main
32 {
33 public:
34  Main (int *argc_p, char ***argv_p);
35  ~Main();
36 };
37 
38 }
39 
40 #endif
Definition: smmain.hh:32