mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 04:15:43 +00:00
Changing wallet directory structure
This commit is contained in:
parent
edd1495b91
commit
e99e665076
@ -21,7 +21,7 @@ srcdir = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
|
||||
|
||||
DIRS=public src module
|
||||
DIRS=public src
|
||||
|
||||
include $(DEPTH)/config/autoconf.mk
|
||||
include $(topsrcdir)/config/config.mk
|
||||
|
@ -17,6 +17,6 @@
|
||||
|
||||
DEPTH=..\..
|
||||
|
||||
DIRS=public src module
|
||||
DIRS=public src
|
||||
|
||||
include <$(DEPTH)\config\rules.mak>
|
||||
|
@ -1 +0,0 @@
|
||||
Makefile
|
@ -1,6 +0,0 @@
|
||||
#
|
||||
# This is a list of local files which get copied to the mozilla:dist:privacy:module directory
|
||||
#
|
||||
|
||||
nsIWallet.h
|
||||
nsIWalletService.h
|
@ -1,39 +0,0 @@
|
||||
#!gmake
|
||||
#
|
||||
# The contents of this file are subject to the Netscape Public License
|
||||
# Version 1.0 (the "NPL"); you may not use this file except in
|
||||
# compliance with the NPL. You may obtain a copy of the NPL at
|
||||
# http://www.mozilla.org/NPL/
|
||||
#
|
||||
# Software distributed under the NPL is distributed on an "AS IS" basis,
|
||||
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
|
||||
# for the specific language governing rights and limitations under the
|
||||
# NPL.
|
||||
#
|
||||
# The Initial Developer of this code under the NPL is Netscape
|
||||
# Communications Corporation. Portions created by Netscape are
|
||||
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
|
||||
# Reserved.
|
||||
|
||||
|
||||
MODULE = walletlib
|
||||
LIBRARY_NAME=walletlib
|
||||
|
||||
DEPTH= ../../..
|
||||
topsrcdir = @top_srcdir@
|
||||
srcdir = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
|
||||
include $(DEPTH)/config/autoconf.mk
|
||||
include $(topsrcdir)/config/config.mk
|
||||
|
||||
EXPORTS = nsIWalletService.h \
|
||||
$(NULL)
|
||||
EXPORTS := $(addprefix $(srcdir)/, $(EXPORTS))
|
||||
|
||||
CPPSRCS = \
|
||||
nsWalletFactory.cpp \
|
||||
nsWalletService.cpp \
|
||||
$(NULL)
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
@ -1,103 +0,0 @@
|
||||
# The contents of this file are subject to the Netscape Public License
|
||||
# Version 1.0 (the "NPL"); you may not use this file except in
|
||||
# compliance with the NPL. You may obtain a copy of the NPL at
|
||||
# http://www.mozilla.org/NPL/
|
||||
#
|
||||
# Software distributed under the NPL is distributed on an "AS IS" basis,
|
||||
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
|
||||
# for the specific language governing rights and limitations under the
|
||||
# NPL.
|
||||
#
|
||||
# The Initial Developer of this code under the NPL is Netscape
|
||||
# Communications Corporation. Portions created by Netscape are
|
||||
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
|
||||
# Reserved.
|
||||
|
||||
|
||||
#//------------------------------------------------------------------------
|
||||
#//
|
||||
# New build system where zip dll is build indepenant of java stubs.
|
||||
#//
|
||||
#//------------------------------------------------------------------------
|
||||
MODULE = walletlib
|
||||
EXPORTS = nsIWalletService.h \
|
||||
$(NULL)
|
||||
|
||||
#//------------------------------------------------------------------------
|
||||
#//
|
||||
#// Specify the depth of the current directory relative to the
|
||||
#// root of NS
|
||||
#//
|
||||
#//------------------------------------------------------------------------
|
||||
DEPTH= ..\..\..
|
||||
|
||||
MAKE_OBJ_TYPE=DLL
|
||||
#//------------------------------------------------------------------------
|
||||
#//
|
||||
#// Define any Public Make Variables here: (ie. PDFFILE, MAPFILE, ...)
|
||||
#//
|
||||
#//------------------------------------------------------------------------
|
||||
DLLNAME=walletlib
|
||||
|
||||
#//------------------------------------------------------------------------
|
||||
#//
|
||||
#// Define the files necessary to build the target (ie. OBJS)
|
||||
#//
|
||||
#//------------------------------------------------------------------------
|
||||
OBJS= \
|
||||
.\$(OBJDIR)\nsWalletService.obj \
|
||||
.\$(OBJDIR)\nsWalletFactory.obj \
|
||||
$(NULL)
|
||||
|
||||
#//------------------------------------------------------------------------
|
||||
#//
|
||||
#// Define any Public Targets here (ie. PROGRAM, LIBRARY, DLL, ...)
|
||||
#// (these must be defined before the common makefiles are included)
|
||||
#//
|
||||
#//------------------------------------------------------------------------
|
||||
|
||||
DLL=.\$(OBJDIR)\$(DLLNAME).dll
|
||||
|
||||
#//------------------------------------------------------------------------
|
||||
#//
|
||||
#// Define any local options for the make tools
|
||||
#// (ie. LCFLAGS, LLFLAGS, LLIBS, LINCS)
|
||||
#//
|
||||
#//------------------------------------------------------------------------
|
||||
LCFLAGS=-DNETSCAPE -D_IMPL_NS_NET -DNO_NETWORK_POLLING
|
||||
|
||||
WALLETLIBS=\
|
||||
$(DIST)\lib\wallet.lib \
|
||||
$(NULL)
|
||||
|
||||
LLIBS=$(LLIBS) $(LIBNSPR) \
|
||||
$(WALLETLIBS) \
|
||||
$(DIST)\lib\raptorbase.lib \
|
||||
$(DIST)\lib\secfreenav32.lib \
|
||||
$(DIST)\lib\plc3.lib \
|
||||
$(DIST)\lib\xppref32.lib \
|
||||
$(DIST)\lib\xpcom32.lib \
|
||||
$(DIST)\lib\xplib.lib \
|
||||
$(DIST)\lib\netlib.lib \
|
||||
$(NULL)
|
||||
|
||||
LINCS=$(LINCS) -I. \
|
||||
-I$(PUBLIC)\xpcom \
|
||||
-I$(PUBLIC)\wallet \
|
||||
-I$(PUBLIC)\raptor \
|
||||
-I$(PUBLIC)\netlib \
|
||||
$(NULL)
|
||||
|
||||
|
||||
#//------------------------------------------------------------------------
|
||||
#//
|
||||
#// Include the common makefile rules
|
||||
#//
|
||||
#//------------------------------------------------------------------------
|
||||
include <$(DEPTH)/config/rules.mak>
|
||||
|
||||
$(DLL): $(WALLETLIBS)
|
||||
|
||||
libs:: $(DLL)
|
||||
$(MAKE_INSTALL) .\$(OBJDIR)\$(DLLNAME).dll $(DIST)\bin
|
||||
$(MAKE_INSTALL) .\$(OBJDIR)\walletlib.lib $(DIST)\lib
|
@ -1,58 +0,0 @@
|
||||
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
|
||||
*
|
||||
* The contents of this file are subject to the Netscape Public License
|
||||
* Version 1.0 (the "NPL"); you may not use this file except in
|
||||
* compliance with the NPL. You may obtain a copy of the NPL at
|
||||
* http://www.mozilla.org/NPL/
|
||||
*
|
||||
* Software distributed under the NPL is distributed on an "AS IS" basis,
|
||||
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
|
||||
* for the specific language governing rights and limitations under the
|
||||
* NPL.
|
||||
*
|
||||
* The Initial Developer of this code under the NPL is Netscape
|
||||
* Communications Corporation. Portions created by Netscape are
|
||||
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
|
||||
* Reserved.
|
||||
*/
|
||||
|
||||
#ifndef nsIWalletService_h___
|
||||
#define nsIWalletService_h___
|
||||
|
||||
//#include "nscore.h"
|
||||
#include "nsISupports.h"
|
||||
#include "nsString.h"
|
||||
#include "nsIPresShell.h"
|
||||
#include "lo_ele.h"
|
||||
#include "nsIURL.h"
|
||||
|
||||
// {738CFD51-ABCF-11d2-AB4B-0080C787AD96}
|
||||
#define NS_IWALLETSERVICE_IID \
|
||||
{ 0x738cfd51, 0xabcf, 0x11d2, { 0xab, 0x4b, 0x0, 0x80, 0xc7, 0x87, 0xad, 0x96 } };
|
||||
|
||||
|
||||
// {738CFD52-ABCF-11d2-AB4B-0080C787AD96}
|
||||
#define NS_WALLETSERVICE_CID \
|
||||
{ 0x738cfd52, 0xabcf, 0x11d2, { 0xab, 0x4b, 0x0, 0x80, 0xc7, 0x87, 0xad, 0x96 } };
|
||||
|
||||
/**
|
||||
* The nsIWalletService interface provides an API to the wallet service.
|
||||
* This is a preliminary interface which <B>will</B> change over time!
|
||||
*
|
||||
*/
|
||||
struct nsIWalletService : public nsISupports
|
||||
{
|
||||
NS_IMETHOD WALLET_PreEdit(nsIURL* url) = 0;
|
||||
NS_IMETHOD WALLET_Prefill(nsIPresShell* shell, PRBool quick) = 0;
|
||||
NS_IMETHOD WALLET_Capture(nsIDocument* doc, nsString name, nsString value) = 0;
|
||||
NS_IMETHOD WALLET_OKToCapture(PRBool* result, PRInt32 count, char* URLName) = 0;
|
||||
#ifdef junk
|
||||
NS_IMETHOD SI_DisplaySignonInfoAsHTML()=0;
|
||||
NS_IMETHOD SI_RememberSignonData
|
||||
(char* URLName, LO_FormSubmitData *submit)=0;
|
||||
NS_IMETHOD SI_RestoreSignonData
|
||||
(char* URLNAME, char* name, char** value)=0;
|
||||
#endif
|
||||
};
|
||||
|
||||
#endif /* nsIWalletService_h___ */
|
@ -1,19 +0,0 @@
|
||||
; The contents of this file are subject to the Netscape Public License
|
||||
; Version 1.0 (the "NPL"); you may not use this file except in
|
||||
; compliance with the NPL. You may obtain a copy of the NPL at
|
||||
; http://www.mozilla.org/NPL/
|
||||
;
|
||||
; Software distributed under the NPL is distributed on an "AS IS" basis,
|
||||
; WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
|
||||
; for the specific language governing rights and limitations under the
|
||||
; NPL.
|
||||
;
|
||||
; The Initial Developer of this code under the NPL is Netscape
|
||||
; Communications Corporation. Portions created by Netscape are
|
||||
; Copyright (C) 1998 Netscape Communications Corporation. All Rights
|
||||
; Reserved.
|
||||
|
||||
LIBRARY wallet.dll
|
||||
|
||||
EXPORTS
|
||||
WALLET_Prefill
|
@ -21,8 +21,7 @@ srcdir = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
|
||||
EXPORTS = \
|
||||
singsign.h \
|
||||
wallet.h \
|
||||
nsIWalletService.h \
|
||||
$(NULL)
|
||||
|
||||
EXPORTS := $(addprefix $(srcdir)/, $(EXPORTS))
|
||||
|
@ -20,8 +20,7 @@ IGNORE_MANIFEST=1
|
||||
DEPTH=..\..\..
|
||||
|
||||
EXPORTS = \
|
||||
singsign.h \
|
||||
wallet.h \
|
||||
nsIWalletService.h \
|
||||
$(NULL)
|
||||
|
||||
MODULE = wallet
|
||||
|
@ -25,9 +25,10 @@ include $(topsrcdir)/config/config.mk
|
||||
|
||||
LIBRARY_NAME=wallet
|
||||
|
||||
|
||||
CPPSRCS = \
|
||||
wallet.cpp \
|
||||
nsWalletFactory.cpp \
|
||||
nsWalletService.cpp \
|
||||
wallet.cpp \
|
||||
$(NULL)
|
||||
|
||||
MODULE=wallet
|
||||
@ -36,14 +37,4 @@ REQUIRES=wallet
|
||||
EXPORTS= $(NULL)
|
||||
EXPORTS := $(addprefix $(srcdir)/, $(EXPORTS))
|
||||
|
||||
INCLUDES += \
|
||||
-I$(PUBLIC)\raptor \
|
||||
-I$(PUBLIC)\xpcom \
|
||||
-I$(PUBLIC)\dom \
|
||||
-I$(PUBLIC)\js \
|
||||
-I$(PUBLIC)\netlib \
|
||||
-I$(PUBLIC)\security \
|
||||
-I$(PUBLIC)\pref \
|
||||
-I$(PUBLIC)\wallet
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
@ -18,10 +18,15 @@
|
||||
DEPTH=..\..\..
|
||||
|
||||
LIBRARY_NAME=wallet
|
||||
CPP_OBJS= .\$(OBJDIR)\wallet.obj
|
||||
CSRCS = wallet.cpp
|
||||
CPP_OBJS= .\$(OBJDIR)\wallet.obj \
|
||||
.\$(OBJDIR)\nsWalletFactory.obj \
|
||||
.\$(OBJDIR)\nsWalletService.obj
|
||||
$(NULL)
|
||||
|
||||
CPPSRCS = \
|
||||
CPPSRCS = \
|
||||
nsWalletFactory.cpp \
|
||||
nsWalletService.cpp \
|
||||
wallet.cpp \
|
||||
$(NULL)
|
||||
|
||||
MODULE=wallet
|
||||
|
Loading…
Reference in New Issue
Block a user