Fix base class specifiers, since be default if they aren't specified it is Private

# 23237
r= warren@netscape.com, ftang@netscape.com, jband@netscape.com
This commit is contained in:
jdunn%netscape.com 2000-01-11 01:45:34 +00:00
Родитель 92508d6f74
Коммит 157f231d1d
15 изменённых файлов: 19 добавлений и 76 удалений

Просмотреть файл

@ -32,7 +32,7 @@
{ 0x7ee2a4c0, 0x4b91, 0x11d3, \
{ 0xba, 0x18, 0x00, 0x60, 0xb0, 0xf1, 0x99, 0xa2 }}
class nsCertificatePrincipal : public nsICertificatePrincipal, nsBasePrincipal {
class nsCertificatePrincipal : public nsICertificatePrincipal, public nsBasePrincipal {
public:
NS_DEFINE_STATIC_CID_ACCESSOR(NS_CERTIFICATEPRINCIPALMANAGER_CID)

Просмотреть файл

@ -34,7 +34,7 @@
{ 0x7ee2a400, 0x0b91, 0xaad3, \
{ 0xba, 0x18, 0xd7, 0x60, 0xb0, 0xf1, 0x99, 0xa2 }}
class nsCodebasePrincipal : public nsBasePrincipal, nsICodebasePrincipal {
class nsCodebasePrincipal : public nsBasePrincipal, public nsICodebasePrincipal {
public:
NS_DEFINE_STATIC_CID_ACCESSOR(NS_CODEBASEPRINCIPAL_CID)

Просмотреть файл

@ -318,7 +318,7 @@ static nsVerifier *gCJKVerifierSet[CJK_DETECTOR_NUM_VERIFIERS] = {
};
//==========================================================
class nsXPCOMDetector :
nsPSMDetector,
private nsPSMDetector,
public nsICharsetDetector // Implement the interface
{
NS_DECL_ISUPPORTS
@ -389,7 +389,7 @@ void nsXPCOMDetector::Report(const char* charset)
}
//==========================================================
class nsXPCOMStringDetector :
nsPSMDetector,
private nsPSMDetector,
public nsIStringCharsetDetector // Implement the interface
{
NS_DECL_ISUPPORTS

Просмотреть файл

@ -36,7 +36,7 @@
#include "xpctest_inout.h"
#include "xpctest_private.h"
class xpcTestInOut : nsIXPCTestInOut {
class xpcTestInOut : public nsIXPCTestInOut {
public:
NS_DECL_ISUPPORTS
NS_DECL_NSIXPCTESTINOUT

Просмотреть файл

@ -169,7 +169,7 @@ xpctest::ConstructXPCTestParentTwo(nsISupports *aOuter, REFNSIID aIID, void **aR
* nsIXPCTestChild2 inherits from nsISupports
*/
class xpcTestChild2 : public nsIXPCTestChild2, nsIXPCTestParentOne, nsIXPCTestParentTwo {
class xpcTestChild2 : public nsIXPCTestChild2, public nsIXPCTestParentOne, public nsIXPCTestParentTwo {
public:
NS_DECL_NSIXPCTESTCHILD2
NS_DECL_NSIXPCTESTPARENTONE
@ -391,7 +391,7 @@ xpctest::ConstructXPCTestChild3(nsISupports *aOuter, REFNSIID aIID, void **aResu
* directly from nsISupports) and two classes.
*/
class xpcTestChild4 : public nsIXPCTestChild4, xpcTestParentOne, xpcTestParentTwo {
class xpcTestChild4 : public nsIXPCTestChild4, public xpcTestParentOne, public xpcTestParentTwo {
public:
NS_DECL_ISUPPORTS
NS_DECL_NSIXPCTESTCHILD4
@ -461,7 +461,7 @@ xpctest::ConstructXPCTestChild4(nsISupports *aOuter, REFNSIID aIID, void **aResu
* from nsIXPCTestParentOne) and the class xpcTestParentTwo
*/
class xpcTestChild5 : public nsIXPCTestChild5, xpcTestParentTwo {
class xpcTestChild5 : public nsIXPCTestChild5, public xpcTestParentTwo {
public:
NS_DECL_ISUPPORTS
NS_DECL_NSIXPCTESTCHILD5

Просмотреть файл

@ -48,7 +48,7 @@
#include "nsIView.h"
class AnonymousElement : public nsXMLElement, nsIStyledContent, nsIAnonymousContent
class AnonymousElement : public nsXMLElement, public nsIStyledContent, public nsIAnonymousContent
{
public:
AnonymousElement(nsIAtom *aTag):nsXMLElement(aTag) {}

Просмотреть файл

@ -48,9 +48,9 @@ nsresult NS_NewSliderFrame(nsIPresShell* aPresShell, nsIFrame** aResult) ;
class nsSliderFrame : public nsHTMLContainerFrame,
nsIDOMMouseListener,
nsIAnonymousContentCreator,
nsITimerCallback
public nsIDOMMouseListener,
public nsIAnonymousContentCreator,
public nsITimerCallback
{
public:
nsSliderFrame();

Просмотреть файл

@ -34,7 +34,7 @@
#include "nsCOMPtr.h"
class nsMsgWindow : public nsIMsgWindow, nsIURIContentListener {
class nsMsgWindow : public nsIMsgWindow, public nsIURIContentListener {
public:

Просмотреть файл

@ -25,7 +25,7 @@
#include "nsIContentHandler.h"
#include "nsCOMPtr.h"
class nsMsgComposeService : public nsIMsgComposeService, nsIContentHandler
class nsMsgComposeService : public nsIMsgComposeService, public nsIContentHandler
{
public:
nsMsgComposeService();

Просмотреть файл

@ -219,7 +219,7 @@ NS_IMETHODIMP nsSmtpService::GetDefaultPort(PRInt32 *aDefaultPort)
// But we need to have a channel to return for nsSmtpService::NewChannel
// that can simulate a real channel such that the uri loader can then get the
// content type for the channel.
class nsMailtoChannel : nsIChannel
class nsMailtoChannel : public nsIChannel
{
public:

Просмотреть файл

@ -64,7 +64,7 @@ typedef struct {
char *value;
} headerInfoType;
class nsMimeBaseEmitter : public nsIMimeEmitter, nsIPipeObserver {
class nsMimeBaseEmitter : public nsIMimeEmitter, public nsIPipeObserver {
public:
nsMimeBaseEmitter ();
virtual ~nsMimeBaseEmitter (void);

Просмотреть файл

@ -1,57 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is Mozilla Communicator client code, released
* March 31, 1998.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998-1999 Netscape Communications Corporation. All
* Rights Reserved.
*/
#ifndef __nsRDFDOMResourceFactory_h
#define __nsRDFDOMResourceFactory_h
#include "nsIRDFService.h"
#include "nscore.h"
#include "nsCOMPtr.h"
#include "nsWeakPtr.h"
#include "rdf.h"
#include "nsRDFResource.h"
#include "nsIDOMViewerElement.h"
class nsRDFDOMViewerElement : nsRDFResource,
nsIDOMViewerElement
{
public:
nsRDFDOMViewerElement();
virtual ~nsRDFDOMViewerElement();
NS_DECL_ISUPPORTS_INHERITED
NS_DECL_NSIDOMVIEWERELEMENT
static NS_METHOD
Create(nsISupports* aOuter,const nsIID& iid, void **result);
private:
//nsWeakPtr mObject;
nsCOMPtr<nsISupports> mObject;
};
/* {84a87046-57f4-11d3-9061-00a0c900d445} */
#define NS_RDF_DOMRESOURCEFACTORY_CID \
{0x84a87046, 0x57f4, 0x11d3, \
{ 0x90, 0x61, 0x0, 0xa0, 0xc9, 0x0, 0xd4, 0x45 }}
#endif

Просмотреть файл

@ -26,7 +26,7 @@
#include "nsIRDFDOMViewerObject.h"
#include "nsHashtable.h"
class nsDOMViewerObject : nsIRDFDOMViewerObject {
class nsDOMViewerObject : public nsIRDFDOMViewerObject {
public:
nsDOMViewerObject();
virtual ~nsDOMViewerObject();

Просмотреть файл

@ -475,7 +475,7 @@ NS_IMETHODIMP BarImpl::BarMethod2(PRInt32 i)
/***************************/
class FooBarImpl : FooImpl, BarImpl
class FooBarImpl : public FooImpl, public BarImpl
{
public:
NS_DECL_ISUPPORTS

Просмотреть файл

@ -212,7 +212,7 @@ NS_NewInternetSearchContext(nsIRDFResource *aParent, nsIRDFResource *aEngine,
class InternetSearchDataSource : public nsIInternetSearchService,
public nsIRDFDataSource, nsIStreamListener
public nsIRDFDataSource, public nsIStreamListener
{
private:
static PRInt32 gRefCnt;