rename AGGRRGATE to AGGREGATE

made all the aggregate inner classes friend of the enclosing class
This commit is contained in:
rods 1998-06-17 14:54:52 +00:00
parent 4f0977b3b9
commit 49c9b93418
8 changed files with 15 additions and 13 deletions

View File

@ -72,7 +72,7 @@ private:
AggButton();
virtual ~AggButton();
AGGRRGATE_METHOD_DEF
AGGREGATE_METHOD_DEF
// nsIButton
virtual void SetLabel(const nsString &aText);
@ -80,6 +80,7 @@ private:
};
AggButton mAggWidget;
friend class AggButton;
};

View File

@ -85,7 +85,7 @@ private:
AggCheckButton();
virtual ~AggCheckButton();
AGGRRGATE_METHOD_DEF
AGGREGATE_METHOD_DEF
// nsICheckButton
virtual void SetLabel(const nsString &aText);
@ -96,7 +96,7 @@ private:
};
AggCheckButton mAggWidget;
friend class AggCheckButton;
};

View File

@ -95,7 +95,7 @@ class nsFileWidget : public nsWindow
AggFileWidget();
virtual ~AggFileWidget();
AGGRRGATE_METHOD_DEF
AGGREGATE_METHOD_DEF
// nsIFileWidget
virtual void Create( nsIWidget *aParent,
@ -115,7 +115,7 @@ class nsFileWidget : public nsWindow
virtual void OnCancel();
};
AggFileWidget mAggWidget;
friend class AggFileWidget;
};

View File

@ -76,7 +76,7 @@ private:
AggListBox();
virtual ~AggListBox();
AGGRRGATE_METHOD_DEF
AGGREGATE_METHOD_DEF
// nsIListBox
void SetMultipleSelection(PRBool aMultipleSelections);
@ -94,6 +94,7 @@ private:
};
AggListBox mAggWidget;
friend class AggListBox;
};

View File

@ -87,7 +87,7 @@ private:
AggRadioButton();
virtual ~AggRadioButton();
AGGRRGATE_METHOD_DEF
AGGREGATE_METHOD_DEF
// nsIRadioButton
virtual void SetLabel(const nsString &aText);
@ -97,7 +97,7 @@ private:
};
AggRadioButton mAggWidget;
friend class AggRadioButton;
};

View File

@ -85,7 +85,7 @@ private:
AggScrollbar();
virtual ~AggScrollbar();
AGGRRGATE_METHOD_DEF
AGGREGATE_METHOD_DEF
// nsIScrollbar part
virtual void SetMaxRange(PRUint32 aEndRange);
@ -100,7 +100,7 @@ private:
PRUint32 aPosition, PRUint32 aLineIncrement);
};
AggScrollbar mAggWidget;
friend class AggScrollbar;
};

View File

@ -93,7 +93,7 @@ private:
AggTextWidget();
virtual ~AggTextWidget();
AGGRRGATE_METHOD_DEF
AGGREGATE_METHOD_DEF
virtual void SelectAll();
virtual void SetMaxTextLength(PRUint32 aChars);
@ -111,7 +111,7 @@ private:
};
AggTextWidget mAggWidget;
friend class AggTextWidget;
};

View File

@ -183,7 +183,7 @@ public:
};
#define AGGRRGATE_METHOD_DEF \
#define AGGREGATE_METHOD_DEF \
public: \
NS_IMETHOD QueryInterface(REFNSIID aIID, \
void** aInstancePtr); \