11#ifndef PLUGINIFDEMO_UI_UIHANDLER_H_
12#define PLUGINIFDEMO_UI_UIHANDLER_H_
22#include "ws_symbol_export.h"
24class GuiHandler :
public QObject
30 static GuiHandler * getInstance();
32 void showAboutDialog(ext_menubar_gui_type gui_type, gpointer gui_data);
33 void showMainDialog(ext_menubar_gui_type gui_type, gpointer gui_data);
37 void addLogMessage(QString message);
44 void logChanged(QString newEntry);
51 GuiHandler(GuiHandler
const& copy);
52 GuiHandler& operator=(GuiHandler
const& copy);
56 static QMutex * singletonMutex;
60 void executeDialog(QDialog *
object);
66extern void pluginifdemo_ui_about(ext_menubar_gui_type gui_type, gpointer gui_data);
67extern void pluginifdemo_ui_main(ext_menubar_gui_type gui_type, gpointer gui_data);
68extern void pluginifdemo_toolbar_log(
const gchar * message);
70extern void pluginifdemo_toolbar_register(
ext_toolbar_t * toolbar);