libyui
Static Public Member Functions

YUILoader Class Reference

#include <YUILoader.h>

List of all members.

Static Public Member Functions

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

Detailed Description

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


Member Function Documentation

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

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

This might throw exceptions.

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

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