Re: How's it going?

Benjamin Smedberg <[email protected]>
Newsgroups gmane.comp.mozilla.devel.dom
Message-ID <[email protected]>
On 8/13/09 3:46 PM, Tibor Mezei wrote:
> I read IPDL docs for understanding, but i will draft the first version
> on this weekend.
> 
> With the code i have a little problem. You said that i need to support the
> nsIPrefService and nsIPrefBranch interfaces after that and your previous email
> i think is the best solution will be that i implement the interfaces
> above for the
> remote processes and that implementation will call the IPDL functions.
> But the biggest problem with it is where do i put these files in the
> tree and how do
> I call them. I just need a little start kick for this.

Cool. I think you should put the new IPDL files and implementation in
modules/libpref/ipc

Here's how you hook the IPDL files into our build system:
https://wiki.mozilla.org/IPDL/Low_level_setup#Hook_the_IPDL_file_into_our_build_system

The basic prefs protocol can probably just be Preferences.ipdl. It will be
managed by ContentProcess.ipdl, just like IFrameEmbedding and TestShell are
now: see

http://hg.mozilla.org/projects/electrolysis/file/f2966b784f9b/dom/ipc/ContentProcess.ipdl

--BDS

cc'ing mozilla.dev.tech.dom... feel free to post further questions to the
list, since you're having the same kinds of questions and problems that
other people are who are learning the project.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.