зеркало из https://github.com/mozilla/gecko-dev.git
Implementing about:credits, r=valeski a=valeski
This commit is contained in:
Родитель
5275e56e5b
Коммит
9f2fcf5a57
|
@ -37,6 +37,7 @@ CPPSRCS = \
|
|||
nsAboutProtocolModule.cpp \
|
||||
nsAboutBlank.cpp \
|
||||
nsAboutBloat.cpp \
|
||||
nsAboutCredits.cpp \
|
||||
$(NULL)
|
||||
|
||||
EXTRA_DSO_LDOPTS += $(MOZ_COMPONENT_LIBS)
|
||||
|
|
|
@ -37,6 +37,7 @@ CPP_OBJS= \
|
|||
.\$(OBJDIR)\nsAboutProtocolModule.obj \
|
||||
.\$(OBJDIR)\nsAboutBlank.obj \
|
||||
.\$(OBJDIR)\nsAboutBloat.obj \
|
||||
.\$(OBJDIR)\nsAboutCredits.obj \
|
||||
$(NULL)
|
||||
|
||||
LOCAL_INCLUDES=-I.
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
#include "nsAboutProtocolHandler.h"
|
||||
#include "nsAboutBlank.h"
|
||||
#include "nsAboutBloat.h"
|
||||
#include "nsAboutCredits.h"
|
||||
|
||||
static nsModuleComponentInfo components[] =
|
||||
{
|
||||
|
@ -47,6 +48,11 @@ static nsModuleComponentInfo components[] =
|
|||
nsAboutBloat::Create
|
||||
},
|
||||
|
||||
{ "about:credits",
|
||||
NS_ABOUT_CREDITS_MODULE_CID,
|
||||
NS_ABOUT_MODULE_PROGID_PREFIX "credits",
|
||||
nsAboutCredits::Create
|
||||
},
|
||||
};
|
||||
|
||||
NS_IMPL_NSGETMODULE("nsAboutProtocolModule", components);
|
||||
|
|
Загрузка…
Ссылка в новой задаче