+ nsAutoString alertCookie;
nsString (you normally don't want to use nsAuto* in structs)
+ nsAutoString mAlertCookie;
Same here
Instead of creating NotifyCallbackInfo, why don't you make the notify_ callbacks take the nsAlertsIconListener as their closure-data?
+ nsAutoString alertCookie;
nsString (you normally don't want to use nsAuto* in structs)
+ nsAutoString mAlertCookie;
Same here
Instead of creating NotifyCallbackInfo, why don't you make the notify_ callbacks take the nsAlertsIconLis tener as their closure-data?