libyui
3.2.4
|
Class to load one of the concrete UI plug-ins: Qt, NCurses, Gtk. More...
#include <YUILoader.h>
Static Public Member Functions | |
static void | loadUI (bool withThreads=false) |
Load any of the available UI plug-ins in this order: More... | |
static void | deleteUI () |
This will make sure the UI singleton is deleted. More... | |
static void | loadPlugin (const std::string &name, bool withThreads=false) |
Load a UI plug-in. More... | |
static bool | pluginExists (const std::string &pluginBaseName) |
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 following order in the same way as loadUI: More... | |
Class to load one of the concrete UI plug-ins: Qt, NCurses, Gtk.
Definition at line 45 of file YUILoader.h.
|
static |
This will make sure the UI singleton is deleted.
If the UI is already destroyed, it will do nothing. If there still is a UI object, it will be deleted.
This is particularly important for the NCurses UI so that the terminal settings are properly restored.
Definition at line 100 of file YUILoader.cc.
|
static |
Load the given External Widgets plugin followed by its graphical extension implementation in the following order in the same way as loadUI:
'name' is the user defined plugin name, graphical extension implementations have to be called 'name'-qt, 'name'-gtk and 'name'-ncurses. Following this rule plugin file names are as libyui-XX-YY.so.VER where: XX is the user defined name YY is the UI used (ncurses, gtk, qt) VER is the libyui so version 'symbol' is the function symbol to be loaded, e.g. YExternalWidgets* 'symbol'(void) (e.g. default YExternalWidgets* createExternalWidgets(const char *) see createEWFunction_t definition)
Definition at line 159 of file YUILoader.cc.
|
static |
Load a UI plug-in.
'name' is one of the YUIPlugin_ -defines above.
This might throw exceptions.
Definition at line 111 of file YUILoader.cc.
|
static |
Load any of the available UI plug-ins in this order:
Definition at line 41 of file YUILoader.cc.