How can one convert an existing xpcom component into a service. my base class definition is as follows
#ifndef nsPLE_h__ #define nsPLE_h__
#include "nscore.h" #include "nsISupports.h" #include "nsCtlCIID.h" /*file for contract ids*/
/*
* nsPLE Interface declaration */
class nsPLE : public nsISupports { public:
NS_DEFINE_STATIC_IID_ACCESSOR(NS_PLE_IID)
NS_IMETHOD GetGlyphsForText(PRUint32*, PRUint32&, void*, void*) =0; }; #endif /* !nsPLE_h */
regards, dsjoshi
