Public Member Functions

gnash::movie_root::AbstractIfaceCallback Class Reference

Abstract base class for hosting app handler. More...

#include <movie_root.h>

Inherited by cygnal::EventCallback, EventCallback, and gnash::Player::CallbacksHandler.

List of all members.

Public Member Functions

virtual std::string call (const std::string &cmd, const std::string &arg=std::string())=0
 Get Gui-related information for the core.
virtual bool yesNo (const std::string &cmd)=0
virtual void exit ()=0
 Instruct the hosting application to exit.
virtual void error (const std::string &)
 Send an error message to the hosting application.
virtual ~AbstractIfaceCallback ()

Detailed Description

Abstract base class for hosting app handler.


Constructor & Destructor Documentation

virtual gnash::movie_root::AbstractIfaceCallback::~AbstractIfaceCallback (  )  [inline, virtual]

Member Function Documentation

virtual std::string gnash::movie_root::AbstractIfaceCallback::call ( const std::string &  cmd,
const std::string &  arg = std::string() 
) [pure virtual]

Get Gui-related information for the core.

This should be used for occasional AS calls, such as for Mouse.hide, System.capabilities etc. The return can be various types, so it is passed as a string.

virtual void gnash::movie_root::AbstractIfaceCallback::error ( const std::string &   )  [inline, virtual]

Send an error message to the hosting application.

This does not have to be implemented; the default is a no-op.

virtual void gnash::movie_root::AbstractIfaceCallback::exit (  )  [pure virtual]

Instruct the hosting application to exit.

virtual bool gnash::movie_root::AbstractIfaceCallback::yesNo ( const std::string &  cmd  )  [pure virtual]

Ask the hosting application for a yes / no answer to a question.


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