Back to index

lightning-sunbird  0.9+nobinonly
Classes | Functions
nsUnknownContentTypeHandler.h File Reference
#include "nsIHelperAppLauncherDialog.h"
#include "nsIExternalHelperAppService.h"
#include "nsIWebBrowserPersist.h"
#include "nsWeakReference.h"
#include "nsIWindowWatcher.h"
#include "nsIEmbeddingSiteWindow.h"
#include "EmbedDownload.h"
#include "PtMozilla.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


class  nsUnknownContentTypeHandler


int Init_nsUnknownContentTypeHandler_Factory ()

Function Documentation

Definition at line 215 of file nsUnknownContentTypeHandler.cpp.

       nsresult rv;

       // create a generic factory for UnkHandler
       nsCOMPtr<nsIGenericFactory> factory;
       rv = NS_NewGenericFactory( getter_AddRefs(factory), info );
       if (NS_FAILED(rv))
              return rv;

       // register this factory with the component registrar.
       nsCOMPtr<nsIComponentRegistrar> registrar;
       rv = NS_GetComponentRegistrar(getter_AddRefs(registrar));
       if (NS_FAILED(rv))
              return rv;
       rv = registrar->RegisterFactory( kCID, "nsUnknownContentTypeHandler", NS_IHELPERAPPLAUNCHERDLG_CONTRACTID, factory);
       return NS_OK;

Here is the call graph for this function:

Here is the caller graph for this function:

static NS_DEFINE_CID ( kCID  ,
) [static]