Y2UINamespace Class Reference

#include <Y2UINamespace.h>

Inheritance diagram for Y2UINamespace:

Y2Namespace

List of all members.

Public Member Functions

 Y2UINamespace (YUIComponent *comp)
virtual ~Y2UINamespace ()
virtual const string name () const
 what namespace do we implement
virtual const string filename () const
 used for error reporting
virtual string toString () const
 unparse. useful for debugging
virtual YCPValue evaluate (bool cse=false)
 called when evaluating the import statement
virtual Y2Function * createFunctionCall (const string name, constFunctionTypePtr type)
YCPValue SetLanguage (const YCPString &language)
YCPValue SetLanguage (const YCPString &language, const YCPString &encoding)
YCPValue GetProductName ()
YCPValue SetProductName (const YCPString &name)
YCPValue SetConsoleFont (const YCPString &console_magic, const YCPString &font, const YCPString &screen_map, const YCPString &unicode_map, const YCPString &encoding)
YCPValue SetKeyboard ()
YCPValue GetLanguage (const YCPBoolean &strip)
YCPValue UserInput ()
YCPValue PollInput ()
YCPValue TimeoutUserInput (const YCPInteger &timeout)
YCPValue WaitForEvent ()
YCPValue WaitForEvent (const YCPInteger &timeout)
YCPValue OpenDialog (const YCPTerm &dialog_term)
YCPValue OpenDialog (const YCPTerm &opts, const YCPTerm &dialog_term)
YCPValue CloseDialog ()
YCPValue ChangeWidget (const YCPSymbol &widget_id, const YCPSymbol &property, const YCPValue &new_value)
YCPValue ChangeWidget (const YCPTerm &widget_id, const YCPSymbol &property, const YCPValue &new_value)
YCPValue ChangeWidget (const YCPTerm &widget_id, const YCPTerm &property, const YCPValue &new_value)
YCPValue QueryWidget (const YCPSymbol &widget_id, const YCPSymbol &property)
YCPValue QueryWidget (const YCPSymbol &widget_id, const YCPTerm &property)
YCPValue QueryWidget (const YCPTerm &widget_id, const YCPSymbol &property)
YCPValue QueryWidget (const YCPTerm &widget_id, const YCPTerm &property)
YCPValue ReplaceWidget (const YCPSymbol &widget_id, const YCPTerm &new_widget)
YCPValue ReplaceWidget (const YCPTerm &widget_id, const YCPTerm &new_widget)
YCPValue SetFocus (const YCPSymbol &widget_id)
YCPValue SetFocus (const YCPTerm &widget_id)
YCPValue RunInTerminal (const YCPString &command)
YCPValue BusyCursor ()
YCPValue RedrawScreen ()
YCPValue NormalCursor ()
YCPValue MakeScreenShot (const YCPString &filename)
YCPValue MakeScreenShot ()
YCPValue DumpWidgetTree ()
YCPValue Beep ()
YCPValue RecordMacro (const YCPString &filename)
YCPValue StopRecordMacro ()
YCPValue PlayMacro (const YCPString &filename)
YCPValue FakeUserInput ()
YCPValue FakeUserInput (const YCPValue &next_input)
YCPValue Glyph (const YCPSymbol &glyphSym)
YCPValue GetDisplayInfo ()
YCPValue RecalcLayout ()
YCPValue PostponeShortcutCheck ()
YCPValue CheckShortcuts ()
YCPValue WidgetExists (const YCPSymbol &widget_id)
YCPValue WidgetExists (const YCPTerm &widget_id)
YCPValue RunPkgSelection (const YCPValue &widget_id)
YCPValue AskForExistingDirectory (const YCPString &startDir, const YCPString &headline)
YCPValue AskForExistingFile (const YCPString &startWith, const YCPString &filter, const YCPString &headline)
YCPValue AskForSaveFileName (const YCPString &startWith, const YCPString &filter, const YCPString &headline)
YCPValue SetFunctionKeys (const YCPMap &new_fkeys)
YCPValue Recode (const YCPString &from, const YCPString &to, const YCPString &text)
YCPValue SetModulename (const YCPString &name)
YCPValue HasSpecialWidget (const YCPSymbol &widget)
YCPValue WizardCommand (const YCPTerm &command)
YCPValue CollectUserInput ()
YCPValue CollectUserInput (const YCPTerm &widget_id)
YCPValue CallHandler (void *ptr, int argc, YCPValue argv[])

Private Member Functions

void registerFunctions ()

Private Attributes

vector< string > _registered_functions
YUIComponent * m_comp


Constructor & Destructor Documentation

Y2UINamespace::Y2UINamespace ( YUIComponent *  comp  ) 

Constructor.

Y2UINamespace::~Y2UINamespace (  )  [virtual]

Destructor.


Member Function Documentation

void Y2UINamespace::registerFunctions (  )  [private]

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

what namespace do we implement

Reimplemented from Y2Namespace.

virtual const string Y2UINamespace::filename (  )  const [inline, virtual]

used for error reporting

Implements Y2Namespace.

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

unparse. useful for debugging

Reimplemented from Y2Namespace.

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

called when evaluating the import statement

Implements Y2Namespace.

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

Creates a function call instance, which can be used to call a function from this namespace. The object is NOT owned anymore by this instance, the caller can (and should) delete it.

Parameters:
name name of the required function
type the type of the function (needed for overloading)
Returns:
an object, that can be used to call the function, or NULL on error

Implements Y2Namespace.

YCPValue Y2UINamespace::SetLanguage ( const YCPString &  language  ) 

YCPValue Y2UINamespace::SetLanguage ( const YCPString &  language,
const YCPString &  encoding 
)

YCPValue Y2UINamespace::GetProductName (  ) 

YCPValue Y2UINamespace::SetProductName ( const YCPString &  name  ) 

YCPValue Y2UINamespace::SetConsoleFont ( const YCPString &  console_magic,
const YCPString &  font,
const YCPString &  screen_map,
const YCPString &  unicode_map,
const YCPString &  encoding 
)

YCPValue Y2UINamespace::SetKeyboard (  ) 

YCPValue Y2UINamespace::GetLanguage ( const YCPBoolean &  strip  ) 

YCPValue Y2UINamespace::UserInput (  ) 

YCPValue Y2UINamespace::PollInput (  ) 

YCPValue Y2UINamespace::TimeoutUserInput ( const YCPInteger &  timeout  ) 

YCPValue Y2UINamespace::WaitForEvent (  ) 

YCPValue Y2UINamespace::WaitForEvent ( const YCPInteger &  timeout  ) 

YCPValue Y2UINamespace::OpenDialog ( const YCPTerm &  dialog_term  ) 

YCPValue Y2UINamespace::OpenDialog ( const YCPTerm &  opts,
const YCPTerm &  dialog_term 
)

YCPValue Y2UINamespace::CloseDialog (  ) 

YCPValue Y2UINamespace::ChangeWidget ( const YCPSymbol &  widget_id,
const YCPSymbol &  property,
const YCPValue &  new_value 
)

YCPValue Y2UINamespace::ChangeWidget ( const YCPTerm &  widget_id,
const YCPSymbol &  property,
const YCPValue &  new_value 
)

YCPValue Y2UINamespace::ChangeWidget ( const YCPTerm &  widget_id,
const YCPTerm &  property,
const YCPValue &  new_value 
)

YCPValue Y2UINamespace::QueryWidget ( const YCPSymbol &  widget_id,
const YCPSymbol &  property 
)

YCPValue Y2UINamespace::QueryWidget ( const YCPSymbol &  widget_id,
const YCPTerm &  property 
)

YCPValue Y2UINamespace::QueryWidget ( const YCPTerm &  widget_id,
const YCPSymbol &  property 
)

YCPValue Y2UINamespace::QueryWidget ( const YCPTerm &  widget_id,
const YCPTerm &  property 
)

YCPValue Y2UINamespace::ReplaceWidget ( const YCPSymbol &  widget_id,
const YCPTerm &  new_widget 
)

YCPValue Y2UINamespace::ReplaceWidget ( const YCPTerm &  widget_id,
const YCPTerm &  new_widget 
)

YCPValue Y2UINamespace::SetFocus ( const YCPSymbol &  widget_id  ) 

YCPValue Y2UINamespace::SetFocus ( const YCPTerm &  widget_id  ) 

YCPValue Y2UINamespace::RunInTerminal ( const YCPString &  command  ) 

YCPValue Y2UINamespace::BusyCursor (  ) 

YCPValue Y2UINamespace::RedrawScreen (  ) 

YCPValue Y2UINamespace::NormalCursor (  ) 

YCPValue Y2UINamespace::MakeScreenShot ( const YCPString &  filename  ) 

YCPValue Y2UINamespace::MakeScreenShot (  ) 

YCPValue Y2UINamespace::DumpWidgetTree (  ) 

YCPValue Y2UINamespace::Beep (  ) 

YCPValue Y2UINamespace::RecordMacro ( const YCPString &  filename  ) 

YCPValue Y2UINamespace::StopRecordMacro (  ) 

YCPValue Y2UINamespace::PlayMacro ( const YCPString &  filename  ) 

YCPValue Y2UINamespace::FakeUserInput (  ) 

YCPValue Y2UINamespace::FakeUserInput ( const YCPValue &  next_input  ) 

YCPValue Y2UINamespace::Glyph ( const YCPSymbol &  glyphSym  ) 

YCPValue Y2UINamespace::GetDisplayInfo (  ) 

YCPValue Y2UINamespace::RecalcLayout (  ) 

YCPValue Y2UINamespace::PostponeShortcutCheck (  ) 

YCPValue Y2UINamespace::CheckShortcuts (  ) 

YCPValue Y2UINamespace::WidgetExists ( const YCPSymbol &  widget_id  ) 

YCPValue Y2UINamespace::WidgetExists ( const YCPTerm &  widget_id  ) 

YCPValue Y2UINamespace::RunPkgSelection ( const YCPValue &  widget_id  ) 

YCPValue Y2UINamespace::AskForExistingDirectory ( const YCPString &  startDir,
const YCPString &  headline 
)

YCPValue Y2UINamespace::AskForExistingFile ( const YCPString &  startWith,
const YCPString &  filter,
const YCPString &  headline 
)

YCPValue Y2UINamespace::AskForSaveFileName ( const YCPString &  startWith,
const YCPString &  filter,
const YCPString &  headline 
)

YCPValue Y2UINamespace::SetFunctionKeys ( const YCPMap &  new_fkeys  ) 

YCPValue Y2UINamespace::Recode ( const YCPString &  from,
const YCPString &  to,
const YCPString &  text 
)

YCPValue Y2UINamespace::SetModulename ( const YCPString &  name  ) 

YCPValue Y2UINamespace::HasSpecialWidget ( const YCPSymbol &  widget  ) 

YCPValue Y2UINamespace::WizardCommand ( const YCPTerm &  command  ) 

YCPValue Y2UINamespace::CollectUserInput (  ) 

YCPValue Y2UINamespace::CollectUserInput ( const YCPTerm &  widget_id  ) 

YCPValue Y2UINamespace::CallHandler ( void *  ptr,
int  argc,
YCPValue  argv[] 
)


Member Data Documentation

vector<string> Y2UINamespace::_registered_functions [private]

YUIComponent* Y2UINamespace::m_comp [private]


The documentation for this class was generated from the following files:
Generated on Tue Nov 6 01:27:48 2007 for yast2-core by  doxygen 1.5.3