зеркало из https://github.com/mozilla/pjs.git
rename AGGRRGATE to AGGREGATE
made all the aggregate inner classes friend of the enclosing class
This commit is contained in:
Родитель
11829df1ea
Коммит
1a6837d6f1
|
@ -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;
|
||||
|
||||
|
||||
};
|
||||
|
|
|
@ -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;
|
||||
|
||||
};
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
};
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
};
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
};
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
||||
};
|
||||
|
|
|
@ -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;
|
||||
|
||||
};
|
||||
|
||||
|
|
|
@ -183,7 +183,7 @@ public:
|
|||
|
||||
};
|
||||
|
||||
#define AGGRRGATE_METHOD_DEF \
|
||||
#define AGGREGATE_METHOD_DEF \
|
||||
public: \
|
||||
NS_IMETHOD QueryInterface(REFNSIID aIID, \
|
||||
void** aInstancePtr); \
|
||||
|
|
Загрузка…
Ссылка в новой задаче