<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.18.3">
</HEAD>
<BODY>
Hello all!<BR>
<BR>
&nbsp;&nbsp;&nbsp; The last two weeks have been of extensive research and headaches. Now I finally got something that worth talking about - now, it's not the plugin itself.<BR>
<BR>
&nbsp;&nbsp;&nbsp; I've managed to build a simple mozilla plugin (no interface yet, but plugging gtk should be really straightforward - I'll do this only for testing) and I isolated all the relevant code I'll need for a basic and insecure (as I have not dealt with python sandbox yet) plugin.<BR>
<BR>
&nbsp;&nbsp;&nbsp; Among other things, I already know how to deal with streams in mozilla plugins and I got everything sorted out to build an SCons build script for this module and I got all the header files required to build plugins - of course there will be needed some libraries already compiled in the system.<BR>
<BR>
&nbsp;&nbsp;&nbsp; Now, for the properties window of the plugin I am considering using GTK. For now there will be no such thing but I am wondering of that will be a good idea or not - maybe using the libraries for the blender interface will be better as we won't have many dependencies. What do you think?<BR>
<BR>
&nbsp;&nbsp;&nbsp; The biggest issue right now is the Mozilla's header files. I can see two options. Depend on user interaction so he will have mozilla installed or we can add the Gecko SDK (a 8mb folder) into the extern folder. I am in favour of the second one but I am not the one who should decide this. So, what's gonna be?<BR>
<BR>
&nbsp;&nbsp;&nbsp; Other thing: is there any known issue in running two instances of the game engine at the same time? Each plugin instance (each &lt;embed&gt; HTML code) will be an instance of the game engine - I'll try to make the instances share some portions of code but that's not my main priority right now.<BR>
<BR>
&nbsp;&nbsp;&nbsp; By the way, I am using the legacy npapi instead of nsplugin as there is no much documentation on the later one - even the samples that comes with mozilla are based on the npapi.<BR>
<BR>
<BR>
Regards,<BR>
<BR>
<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<IMG SRC="cid:1218803453.7863.0.camel@dexter" ALIGN="bottom" BORDER="0"><BR>
<BR>
<FONT SIZE="2"><FONT COLOR="#0090ff">Marcelo Cora&#231;a de Freitas</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0090ff">Pesquisa e Desenvolvimento de Softwares </FONT></FONT><BR>
<BR>
<FONT SIZE="2"><FONT COLOR="#0090ff">Ydea Desenvolvimento de Software LTDA. </FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0090ff">Av. Adolfo Pinheiro, 2338 - Alto da Boa Vista </FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0090ff">CEP.:04734-004 - S&#195;&#163;o Paulo - SP </FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0090ff">Tel.: 55-11-5523-0333 </FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0090ff">Cel.: 55-11-8685-1429 </FONT></FONT>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>