1 #include "apluginthread.h"
5 APluginThread::APluginThread(PluginServer *plugin_server)
9 this->plugin_server = new PluginServer(*plugin_server);
12 APluginThread::~APluginThread()
17 APluginThread::attach()
20 plugin_server->open_plugin();
23 plugin_server->start_gui();
26 APluginThread::detach()
28 printf("APluginThread::detach\n");
31 printf("plugin_server->stop_gui\n");
32 plugin_server->stop_gui(); // sends a completed command to the thread
34 printf("plugin_server->close_plugin\n");
35 plugin_server->close_plugin(); // tell client thread to finish
36 printf("done plugin_server->close_plugin\n");
40 void APluginThread::run()