Open main menu

CDOT Wiki β

Changes

Real World Mozilla First XPCOM Component

4 bytes added, 15:51, 28 February 2007
Building FirstXpcom
#endif
The code in the middle of this block is what you want to use as the basis for implementing your .cpp file (and .h if you choose to split it out, which we won't). Copy and paste this implementation stub into the following file: '''mozilla/extensions/firstxpcom/src/FirstXpcom.cpp'''
You'll need to do a search/replace on '''_MYCLASS_''' and change it to the name of your class, in our case, '''FirstXpcom'''.