libyui  3.0.10
YUILoader Class Reference

#include <YUILoader.h>

List of all members.

Static Public Member Functions

static void loadUI (bool withThreads=false)
static void loadPlugin (const std::string &name, bool withThreads=false)
static bool pluginExists (const std::string &pluginBaseName)

Detailed Description

Class to load one of the concrete UI plug-ins: Qt, NCurses, Gtk.

Definition at line 44 of file YUILoader.h.


Member Function Documentation

void YUILoader::loadPlugin ( const std::string &  name,
bool  withThreads = false 
) [static]

Load a UI plug-in. 'name' is one of the YUIPlugin_ -defines above.

This might throw exceptions.

Definition at line 99 of file YUILoader.cc.

void YUILoader::loadUI ( bool  withThreads = false) [static]

Load any of the available UI plug-ins in this order:

  • Qt if $DISPLAY is set
  • NCurses if stdout is a tty

Definition at line 39 of file YUILoader.cc.

Here is the call graph for this function:


The documentation for this class was generated from the following files:
 All Classes Functions Variables Enumerations Friends