Education/Learning/XpcomComponents: Difference between revisions

Jump to navigation Jump to search
(New page: = Introduction = Mozilla is a huge platform. In order to work in such a large system and have hundreds or thousands of developers working on the same code, it is necessary to break thing...)
 
Line 583: Line 583:
All that remains is our implementation.  Here is the final version of '''FirstXpcom.cpp''' (emphasis added to highlight changes):
All that remains is our implementation.  Here is the final version of '''FirstXpcom.cpp''' (emphasis added to highlight changes):


'''#include <stdio.h> // for printf()'''
  #include "IFirstXpcom.h" // the CPP .h generated from our .idl
  #include "IFirstXpcom.h" // the CPP .h generated from our .idl
  #include "nsIGenericFactory.h" // for NS_GENERIC_FACTORY_CONSTRUCTOR()
  #include "nsIGenericFactory.h" // for NS_GENERIC_FACTORY_CONSTRUCTOR()
Confirmed users
656

edits

Navigation menu