[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnash-dev] async plugin installation

From: Sandro Santilli
Subject: Re: [Gnash-dev] async plugin installation
Date: Tue, 31 May 2016 14:20:52 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

On Tue, May 31, 2016 at 01:43:37PM +0200, Dag Hovland wrote:
> Den 31. mai 2016 10:26, skrev Sandro Santilli:
> >On Tue, May 31, 2016 at 10:17:58AM +0200, Dag Hovland wrote:
> >>
> >>Den 30. mai 2016 15:43, skrev Sandro Santilli:
> >>>There's a Gui::yesno() method, if that's enough (triggered when
> >>>a script takes too much time). Or you could add another interface
> >>>to Gui for something more sophisticated.
> >>That looks nice. Is there a way to get the gui object?
> >You communicate with GUI via HostInterface, usually calling:
> >
> >  movie_root::callInterface(const HostInterface::Message& e) const
> >
> >See libcore/HostInterface.h
> Ok, thanks. But how do you get the movie_root object? I tried
> passing it down in the calls from gnash.cpp but that means adding
> movie_root to a lot of classes. Is there a factory or some static
> class where you can get at it?

You hadn't mentioned yet where you are starting from, anyway
any as_object can give you the root via getRoot().

Use `git grep getRoot` to get a feel of it


  ()   Free GIS & Flash consultant/developer

reply via email to

[Prev in Thread] Current Thread [Next in Thread]