Changes

Jump to: navigation, search

Real World Mozilla First XPCOM Component

26 bytes added, 20:52, 11 November 2007
m
UUID
=== UUID ===
What does line three mean? This says that our component is '''[scriptable''', and can be used or implemented in scripting languages, JavaScript for example uuid(...see http://developerbelow..mozilla.org/en/docs/Interfaces:About_Scriptable_Interfaces).]
Each interface needs to be uniquely identifiable, and Mozilla uses a 128-bit number called a What does line 3 mean? This says that our component is '''UUIDscriptable''' , and can be used or implemented in scripting languages, JavaScript for example (Universally Unique Identifiersee http://developer.mozilla.org/en/docs/Interfaces:About_Scriptable_Interfaces) for this purpose. You can generate one using a number of methods:
Each interface needs to be uniquely identifiable, and Mozilla uses a 128-bit number called a '''UUID''' (Universally Unique Identifier) for this purpose. You can generate one in a number of ways: * in MSYS, use at the command prompt using the command-line program '''uuidgen.exe''':
$ uuidgen

Navigation menu