[Enigmail] Using the enigmail IPC library in another extension.
Patrick Brunschwig
patrick at mozilla-enigmail.org
Wed Feb 13 23:30:48 PST 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
John Evans wrote:
> Hi,
>
> Much like Patrick Brunschwig who posted here earlier this month, I am
> trying to use the IPC library from enigmail in my own extension. I
> would prefer to not have to compile my own version if possible. I seems
> to me that I should just be able to copy the .xpt and .dylib files (I am
> currently trying to get this working on OS X (ppc)) to the components
> directory of my extension and then start using them... but when I try,
> e.g. :
>
> Components.classes['@mozilla.org/process/ipc-service;1'].getService(Components.interfaces.nsIIPCService)
> <http://mozilla.org/process/ipc-service;1'].getService(Components.interfaces.nsIIPCService)>;
>
> I get the following error:
>
> Components.classes['@mozilla.org/process/ipc-service;1'
> <http://mozilla.org/process/ipc-service;1'>] has no properties
>
> which makes it seem as if the components are not finding their way into
> the XPCOM registry.
>
> I am not that familiar with Firefox/Mozilla/XPCOM/etc. Am I missing
> something simple? Is my assumption that I should be able to just copy
> the components directory over and access the ipc service straight away
> correct? Am I on the right track?
The ipc library that is linked into Enigmail will only work with
Thunderbird and SeaMonkey. If you want to use the library in other
applications, such as Firefox or XulRunner, then you'll need to compile
it yourself.
- -Patrick
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.8 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iQEVAwUBR7PuJXcOpHodsOiwAQLfbwf+IEAsIAl6RuuD7uhhR8aQtXQTB+UkUoNc
uT/OYJ/bJ160MCsqtFSOxY/mmAoyDRHhAMVXzO8Yad4mgT0iG0cSivXMR4AWWdMQ
LwySH5Ux7WRcWLl61sIGxgwcZPdGW5ghtM0t2r8hQejgFFRSzksvny7vVRwRKaF9
ud6iks9n7yGySvKdPfShi8celz7ID5YWL9MH/PU5JGYz7Xk0Kxe8h6aDn2ujeoqU
oDG27DbU2Mmv26YASoWUsitJaERCTelYsveRaQtIye43fYwEznNDKgOu8AgNQn/I
pT9LyW6ZGhBMMFNPlpEGWh4nj+MJlrGiy0v4prcqYhw9pdhv/SAWOA==
=ipkC
-----END PGP SIGNATURE-----
More information about the Enigmail
mailing list