33 #include "YExternalWidgets.h"
37 #define YUIPlugin_Qt "qt"
38 #define YUIPlugin_NCurses "ncurses"
39 #define YUIPlugin_Gtk "gtk"
40 #define YUIPlugin_RestAPI "rest-api"
41 #define YUIPlugin_Ncurses_RestAPI "ncurses-rest-api"
42 #define YUIPlugin_Qt_RestAPI "qt-rest-api"
90 static void loadUI(
bool withThreads =
false );
106 static void loadRestAPIPlugin(
const std::string & wantedGUI,
bool withThreads =
false );
113 static void loadPlugin(
const std::string & name,
bool withThreads =
false );
115 static bool pluginExists(
const std::string & pluginBaseName );
132 static void loadExternalWidgets(
const std::string & name,
const std::string & symbol=
"_Z21createExternalWidgetsPKc" );
148 static void loadExternalWidgetsPlugin(
const std::string& name,
const std::string& plugin_name,
const std::string& symbol );
160 typedef YUI * (*createUIFunction_t)( bool );
179 typedef void (*getServerFunction_t)();
Class to load one of the concrete UI plug-ins: Qt, NCurses, Gtk.
static void loadRestAPIPlugin(const std::string &wantedGUI, bool withThreads=false)
Method handles loading integration test framework and load underlying GUI using hints from loadUI.
static void deleteUI()
This will make sure the UI singleton is deleted.
static void loadExternalWidgets(const std::string &name, const std::string &symbol="_Z21createExternalWidgetsPKc")
Load the given External Widgets plugin followed by its graphical extension implementation in the foll...
static void loadPlugin(const std::string &name, bool withThreads=false)
Load a UI plug-in.
static void loadUI(bool withThreads=false)
Load any of the available UI-plugins by this order and criteria:
Abstract base class of a libYUI user interface.