StorageCallbacks Class Reference

#include <StorageCallbacks.h>

Inheritance diagram for StorageCallbacks:

Y2Namespace

List of all members.

Public Member Functions

void registerFunctions ()
YCPValue ProgressBar (const YCPString &func)
YCPValue ShowInstallInfo (const YCPString &func)
YCPValue InfoPopup (const YCPString &func)
YCPValue YesNoPopup (const YCPString &func)
 StorageCallbacks ()
virtual ~StorageCallbacks ()
virtual const string name () const
virtual const string filename () const
virtual string toString () const
virtual YCPValue evaluate (bool cse=false)
virtual Y2FunctioncreateFunctionCall (const string name, constFunctionTypePtr type)

Static Public Member Functions

static StorageCallbacksinstance ()

Public Attributes

vector< string > _registered_functions

Static Private Attributes

static StorageCallbackscurrent_instance = NULL


Detailed Description

A simple class for storage callback access

Constructor & Destructor Documentation

StorageCallbacks::StorageCallbacks (  ) 

Constructor.

References registerFunctions().

Referenced by instance().

StorageCallbacks::~StorageCallbacks (  )  [virtual]

Destructor.


Member Function Documentation

void StorageCallbacks::registerFunctions (  ) 

Referenced by StorageCallbacks().

YCPValue StorageCallbacks::ProgressBar ( const YCPString func  ) 

YCPValue StorageCallbacks::ShowInstallInfo ( const YCPString func  ) 

YCPValue StorageCallbacks::InfoPopup ( const YCPString func  ) 

YCPValue StorageCallbacks::YesNoPopup ( const YCPString func  ) 

virtual const string StorageCallbacks::name (  )  const [inline, virtual]

virtual const string StorageCallbacks::filename ( void   )  const [inline, virtual]

Implements Y2Namespace.

virtual string StorageCallbacks::toString ( void   )  const [inline, virtual]

Reimplemented from Y2Namespace.

virtual YCPValue StorageCallbacks::evaluate ( bool  cse = false  )  [inline, virtual]

Implements Y2Namespace.

References YCPVoid().

Y2Function * StorageCallbacks::createFunctionCall ( const string  name,
constFunctionTypePtr  type 
) [virtual]

Implements Y2Namespace.

References _registered_functions, and y2error.

StorageCallbacks * StorageCallbacks::instance (  )  [static]


Member Data Documentation

Referenced by createFunctionCall().

Referenced by instance().


The documentation for this class was generated from the following files:

Generated on Sun Jun 8 10:48:02 2008 for yast2-storage by  doxygen 1.5.5