Made instance variables protected so that we can subclass.
git-svn-id: svn://10.0.0.236/trunk@27860 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
8508de63bd
commit
122ce55438
@ -38,7 +38,7 @@ public:
|
||||
typedef PRBool (*nsHashtableEnumFunc)(nsHashKey *aKey, void *aData, void* closure);
|
||||
|
||||
class NS_COM nsHashtable {
|
||||
private:
|
||||
protected:
|
||||
// members
|
||||
PLHashTable *hashtable;
|
||||
PRLock *mLock;
|
||||
@ -63,7 +63,7 @@ public:
|
||||
#include "nsISupports.h"
|
||||
|
||||
class nsISupportsKey : public nsHashKey {
|
||||
private:
|
||||
protected:
|
||||
nsISupports* mKey;
|
||||
|
||||
public:
|
||||
@ -93,7 +93,7 @@ public:
|
||||
// nsVoidKey: Where keys are void* objects that don't get refcounted.
|
||||
|
||||
class nsVoidKey : public nsHashKey {
|
||||
private:
|
||||
protected:
|
||||
const void* mKey;
|
||||
|
||||
public:
|
||||
@ -120,7 +120,7 @@ public:
|
||||
#include "nsID.h"
|
||||
|
||||
class nsIDKey : public nsHashKey {
|
||||
private:
|
||||
protected:
|
||||
nsID mID;
|
||||
|
||||
public:
|
||||
@ -148,7 +148,7 @@ public:
|
||||
#include "plstr.h"
|
||||
|
||||
class NS_COM nsCStringKey : public nsHashKey {
|
||||
private:
|
||||
protected:
|
||||
char mBuf[64];
|
||||
char* mStr;
|
||||
|
||||
|
||||
@ -38,7 +38,7 @@ public:
|
||||
typedef PRBool (*nsHashtableEnumFunc)(nsHashKey *aKey, void *aData, void* closure);
|
||||
|
||||
class NS_COM nsHashtable {
|
||||
private:
|
||||
protected:
|
||||
// members
|
||||
PLHashTable *hashtable;
|
||||
PRLock *mLock;
|
||||
@ -63,7 +63,7 @@ public:
|
||||
#include "nsISupports.h"
|
||||
|
||||
class nsISupportsKey : public nsHashKey {
|
||||
private:
|
||||
protected:
|
||||
nsISupports* mKey;
|
||||
|
||||
public:
|
||||
@ -93,7 +93,7 @@ public:
|
||||
// nsVoidKey: Where keys are void* objects that don't get refcounted.
|
||||
|
||||
class nsVoidKey : public nsHashKey {
|
||||
private:
|
||||
protected:
|
||||
const void* mKey;
|
||||
|
||||
public:
|
||||
@ -120,7 +120,7 @@ public:
|
||||
#include "nsID.h"
|
||||
|
||||
class nsIDKey : public nsHashKey {
|
||||
private:
|
||||
protected:
|
||||
nsID mID;
|
||||
|
||||
public:
|
||||
@ -148,7 +148,7 @@ public:
|
||||
#include "plstr.h"
|
||||
|
||||
class NS_COM nsCStringKey : public nsHashKey {
|
||||
private:
|
||||
protected:
|
||||
char mBuf[64];
|
||||
char* mStr;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user