Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines | Functions | Variables
nsSimpleChromeHandler.cpp File Reference
#include "nsSimpleChromeHandler.h"
#include "nsIServiceManager.h"
#include "nsILocalFile.h"
#include "nsDirectoryServiceDefs.h"
#include "nsAppDirectoryServiceDefs.h"
#include "nsIURL.h"
#include "nsIIOService.h"
#include "nsNetUtil.h"
#include "nsURLHelper.h"
#include "nsIGenericFactory.h"
#include "nsSimpleChromeRegistry.h"
#include "nsStandardURL.h"

Go to the source code of this file.

Classes

class  nsSimpleChromeURL

Defines

#define NS_SIMPLECHROMEPROTOCOLHANDLER_CLASSNAME   "nsSimpleChromeHandler"
#define NS_SIMPLECHROMEPROTOCOLHANDLER_CID
#define NS_SIMPLECHROMEREGISTRY_CID

Functions

 NS_IMPL_THREADSAFE_ISUPPORTS2 (nsSimpleChromeHandler, nsIProtocolHandler, nsISupportsWeakReference) NS_IMETHODIMP nsSimpleChromeHandler
static NS_DEFINE_CID (kStandardURLCID, NS_STANDARDURL_CID)

Variables

static const nsModuleComponentInfo components []

Define Documentation

Value:
{ /* f6b3c2cc-b2a3-11d7-82a0-000802c1aa31 */         \
    0xf6b3c2cc,                                      \
    0xb2a3,                                          \
    0x11d7,                                          \
    {0x82, 0xa0, 0x00, 0x08, 0x02, 0xc1, 0xaa, 0x31} \
}

Definition at line 234 of file nsSimpleChromeHandler.cpp.

#define NS_SIMPLECHROMEPROTOCOLHANDLER_CLASSNAME   "nsSimpleChromeHandler"

Definition at line 231 of file nsSimpleChromeHandler.cpp.

Value:
{ /* 5972e8f4-a3a6-44d0-8994-57bf4eeb066d */         \
    0x5972e8f4,                                      \
    0xa3a6,                                          \
    0x44d0,                                          \
    {0x89, 0x94, 0x57, 0xbf, 0x4e, 0xeb, 0x06, 0x6d} \
}

Definition at line 243 of file nsSimpleChromeHandler.cpp.


Function Documentation

static NS_DEFINE_CID ( kStandardURLCID  ,
NS_STANDARDURL_CID   
) [static]

Definition at line 149 of file nsSimpleChromeHandler.cpp.

{
    result = "chrome";
    return NS_OK;
}

Variable Documentation

Initial value:
{
    { "Simple Chrome Registry", 
      NS_SIMPLECHROMEREGISTRY_CID,
      "@mozilla.org/chrome/chrome-registry;1", 
      nsSimpleChromeRegistryConstructor,
    },
    { NS_SIMPLECHROMEPROTOCOLHANDLER_CLASSNAME,
      NS_SIMPLECHROMEPROTOCOLHANDLER_CID,
      NS_NETWORK_PROTOCOL_CONTRACTID_PREFIX "chrome",
      nsSimpleChromeHandlerConstructor
    },
}

Definition at line 254 of file nsSimpleChromeHandler.cpp.