33 #include "YExternalWidgets.h" 37 #define YUIPlugin_Qt "qt" 38 #define YUIPlugin_NCurses "ncurses" 39 #define YUIPlugin_Gtk "gtk" 53 static void loadUI(
bool withThreads =
false );
70 static void loadPlugin(
const std::string & name,
bool withThreads =
false );
72 static bool pluginExists(
const std::string & pluginBaseName );
89 static void loadExternalWidgets(
const std::string & name,
const std::string & symbol=
"_Z21createExternalWidgetsPKc" );
105 static void loadExternalWidgetsPlugin(
const std::string& name,
const std::string& plugin_name,
const std::string& symbol );
117 typedef YUI * (*createUIFunction_t)( bool );
129 #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 plug-ins in this order: