[Project_owners] Re: Getting the gecok version

HJ van Rantwijk bugs4hj at aim.com
Fri Sep 22 10:14:00 EDT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Neil wrote:
> Philip Chee wrote:
> 
>> In toolkit apps you can do this:
>>
>> var appInfo = Components.classes["@mozilla.org/xre/app-info;1"]
>>              .getService(Components.interfaces.nsIXULAppInfo);
>> var platformVer = appInfo.platformVersion;
>> var platformBuildID = appInfo.platformBuildID;
>>  
>>
> SeaMonkey also has a XULAppInfo implementation.

Ok, and how do we use it?  I can't find nsIXULAppInfo.idl in SeaMonkey.

See also:

news://news.mozilla.org:119/WP-dnaYs6pdTLY_YnZ2dnUVZ_tGdnZ2d@mozilla.org

why I need it.

Thanks,
/HJ
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)

iD8DBQFFFAvIRrb6S73JMeYRAh1RAJ9B8O3dMNONp4gQGX0TfwnX3wAfSgCgk3I/
OpTHQlQXE2QAM+WIDEsDb0A=
=CXRa
-----END PGP SIGNATURE-----


More information about the Project_owners mailing list