[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnash-dev] Re: Getting window.location from plugins
From: |
strk |
Subject: |
Re: [Gnash-dev] Re: Getting window.location from plugins |
Date: |
Mon, 25 Sep 2006 11:02:43 +0200 |
On Mon, Sep 25, 2006 at 09:39:41AM +0800, Timothy Lee wrote:
> Dear all,
>
> I've done a bit of XPCOM programming, and one way to do IPC is through
> the nsIObserverService, which is basically a global message queue that
> broadcasts a block of raw data tagged by a "topic" (a string identifier).
>
> As for platform specific code, you should first include the header
> "npapi.h", then use #ifdef to check for XP_WIN, XP_UNIX, XP_MAC and XP_OS2.
>
> Regards,
> Timothy
Since you know XPCOM, how hard would it be to just grab the info
about current page URL instead ? (this might draw IPC useless)
--strk;