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


git-svn-id: svn://10.0.0.236/trunk@57329 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
jdunn%netscape.com
2000-01-11 01:45:34 +00:00
parent a1fc60d62e
commit 9b6c271893
15 changed files with 21 additions and 21 deletions

View File

@@ -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)

View File

@@ -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)

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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) {}

View File

@@ -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();

View File

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

View File

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

View File

@@ -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:

View File

@@ -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);

View File

@@ -30,8 +30,8 @@
#include "nsRDFResource.h"
#include "nsIDOMViewerElement.h"
class nsRDFDOMViewerElement : nsRDFResource,
nsIDOMViewerElement
class nsRDFDOMViewerElement : public nsRDFResource,
public nsIDOMViewerElement
{
public:
nsRDFDOMViewerElement();

View File

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

View File

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

View File

@@ -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;