33 #include "YExternalWidgets.h" 37 #define YUIPlugin_Qt "qt" 38 #define YUIPlugin_NCurses "ncurses" 39 #define YUIPlugin_Gtk "gtk" 88 static void loadUI(
bool withThreads =
false );
105 static void loadPlugin(
const std::string & name,
bool withThreads =
false );
107 static bool pluginExists(
const std::string & pluginBaseName );
124 static void loadExternalWidgets(
const std::string & name,
const std::string & symbol=
"_Z21createExternalWidgetsPKc" );
140 static void loadExternalWidgetsPlugin(
const std::string& name,
const std::string& plugin_name,
const std::string& symbol );
152 typedef YUI * (*createUIFunction_t)( bool );
164 #endif // YUILoader_h Abstract base class of a libYUI user interface.
static void loadPlugin(const std::string &name, bool withThreads=false)
Load a UI plug-in.
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...
Class to load one of the concrete UI plug-ins: Qt, NCurses, Gtk.
static void deleteUI()
This will make sure the UI singleton is deleted.
static void loadUI(bool withThreads=false)
Load any of the available UI-plugins by this order and criteria: